Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

#define http_is_etag (  )     ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_etag_hash)

Test if header object is instance of http_etag_t.

The function http_is_etag() returns true (nonzero) if the header class is an instance of ETag header object and false (zero) otherwise.

Parameters:
header pointer to the header structure to be tested
Returns:
The function http_is_xetag() returns true (nonzero) if the header object is an instance of header etag and false (zero) otherwise.

Definition at line 3637 of file http_protos.h.


Generated by  Doxygen 1.6.0   Back to index