Memory management and debugging functions for SIP headers. More...
#include "hf.h"
#include "parse_via.h"
#include "parse_to.h"
#include "parse_cseq.h"
#include "../dprint.h"
#include "../mem/mem.h"
#include "parse_def.h"
#include "digest/digest.h"
#include "parse_event.h"
#include "parse_expires.h"
#include "parse_rr.h"
#include "contact/parse_contact.h"
#include "parse_disposition.h"
#include "../ut.h"
#include "parse_supported.h"
#include "parse_allow.h"
#include "parse_sst.h"

Go to the source code of this file.
Functions | |
| void | clean_hdr_field (struct hdr_field *hf) |
| void | dump_hdr_field (struct hdr_field *hf) |
| void | free_hdr_field_lst (struct hdr_field *hf) |
Memory management and debugging functions for SIP headers.
Definition in file hf.c.
| void clean_hdr_field | ( | struct hdr_field * | hf | ) |
Frees a hdr_field structure,
Definition at line 59 of file hf.c.
References free_allow(), free_contact(), free_credentials(), free_cseq(), free_disposition(), free_event(), free_expires(), free_rr(), free_session_expires(), free_supported(), free_to(), free_via_list(), HDR_ACCEPT_T, HDR_ACCEPTDISPOSITION_T, HDR_ACCEPTLANGUAGE_T, HDR_ALLOW_T, HDR_AUTHORIZATION_T, HDR_CALLID_T, HDR_CONTACT_T, HDR_CONTENTDISPOSITION_T, HDR_CONTENTLENGTH_T, HDR_CONTENTTYPE_T, HDR_CSEQ_T, HDR_DIVERSION_T, HDR_EVENT_T, HDR_EXPIRES_T, HDR_FROM_T, HDR_MAXFORWARDS_T, HDR_MIN_SE_T, HDR_ORGANIZATION_T, HDR_PAI_T, HDR_PATH_T, HDR_PPI_T, HDR_PRIORITY_T, HDR_PRIVACY_T, HDR_PROXYAUTH_T, HDR_PROXYREQUIRE_T, HDR_RECORDROUTE_T, HDR_REFER_TO_T, HDR_RETRY_AFTER_T, HDR_ROUTE_T, HDR_RPID_T, HDR_SESSION_EXPIRES_T, HDR_SUBJECT_T, HDR_SUPPORTED_T, HDR_TO_T, HDR_UNSUPPORTED_T, HDR_USERAGENT_T, HDR_VIA_T, LM_CRIT, hdr_field::parsed, pkg_free, and hdr_field::type.
Referenced by clean_msg_clone(), free_hdr_field_lst(), and get_register_expire().
| void dump_hdr_field | ( | struct hdr_field * | hf | ) |
Output the contents of a header to the logging system with log level ERROR.
| hf | header that is dumped |
Definition at line 219 of file hf.c.
References hdr_field::body, _str::len, LM_ERR, hdr_field::name, hdr_field::next, hdr_field::parsed, _str::s, hdr_field::type, and ZSW.
| void free_hdr_field_lst | ( | struct hdr_field * | hf | ) |
Definition at line 207 of file hf.c.
References clean_hdr_field(), hdr_field::next, and pkg_free.
Referenced by ac_cancel(), ac_uac_req(), build_local(), free_sip_msg(), free_sip_msg_lite(), mi_tm_uac_dlg(), and shmcontact2dset().
1.5.6