#include "../str.h"
#include "hf.h"


Go to the source code of this file.
Data Structures | |
| struct | exp_body |
Typedefs | |
| typedef struct exp_body | exp_body_t |
Functions | |
| void | free_expires (exp_body_t **_e) |
| int | parse_expires (struct hdr_field *_h) |
| void | print_expires (exp_body_t *_e) |
Definition in file parse_expires.h.
| typedef struct exp_body exp_body_t |
| void free_expires | ( | exp_body_t ** | _e | ) |
Free all memory associated with exp_body_t
Definition at line 123 of file parse_expires.c.
References pkg_free.
Referenced by clean_hdr_field().
| int parse_expires | ( | struct hdr_field * | _h | ) |
Parse expires header field body
Definition at line 93 of file parse_expires.c.
References hdr_field::body, expires_parser(), _str::len, LM_ERR, hdr_field::parsed, pkg_free, pkg_malloc, and _str::s.
Referenced by encode_header(), extract_sdialog_info(), get_expires(), handle_publish(), parse_message(), publ_cback_func(), and subs_cback_func().
| void print_expires | ( | exp_body_t * | _e | ) |
Print exp_body_t content, for debugging only
Definition at line 133 of file parse_expires.c.
References _str::len, _str::s, exp_body::text, exp_body::val, and ZSW.
1.5.6