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

#define http_is_pragma (  )     ((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_pragma_hash)

Test if header object is instance of http_pragma_t.

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

header pointer to the header structure to be tested
The function http_is_xpragma() returns true (nonzero) if the header object is an instance of header pragma and false (zero) otherwise.

Definition at line 6887 of file http_protos.h.

Generated by  Doxygen 1.6.0   Back to index