Parser :: parse header files. More...
#include "hf.h"#include "parse_via.h"#include "parse_to.h"#include "parse_cseq.h"#include "parse_date.h"#include "parse_identity.h"#include "parse_identityinfo.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_sipifmatch.h"#include "parse_rr.h"#include "parse_subscription_state.h"#include "contact/parse_contact.h"#include "parse_disposition.h"#include "parse_allow.h"#include "../ut.h"
Go to the source code of this file.
Definition in file hf.c.
| void clean_hdr_field | ( | struct hdr_field * | hf | ) |
frees a hdr_field structure.
WARNING: it frees only parsed (and not name.s, body.s)
Definition at line 66 of file hf.c.
References free_cseq(), free_disposition(), free_event(), free_expires(), free_identity(), free_rr(), free_sipifmatch(), HDR_ACCEPT_T, HDR_ACCEPTCONTACT_T, HDR_ACCEPTLANGUAGE_T, HDR_ALLOW_T, HDR_ALLOWEVENTS_T, HDR_AUTHORIZATION_T, HDR_CALLID_T, HDR_CONTACT_T, HDR_CONTENTDISPOSITION_T, HDR_CONTENTENCODING_T, HDR_CONTENTLENGTH_T, HDR_CONTENTTYPE_T, HDR_CSEQ_T, HDR_DATE_T, HDR_DIVERSION_T, HDR_EVENT_T, HDR_EXPIRES_T, hdr_free_parsed(), HDR_FROM_T, HDR_IDENTITY_INFO_T, HDR_IDENTITY_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_PROXY_AUTHENTICATE_T, HDR_PROXYAUTH_T, HDR_PROXYREQUIRE_T, HDR_REASON_T, HDR_RECORDROUTE_T, HDR_REFER_TO_T, HDR_REFERREDBY_T, HDR_REJECTCONTACT_T, HDR_REQUESTDISPOSITION_T, HDR_REQUIRE_T, HDR_RETRY_AFTER_T, HDR_ROUTE_T, HDR_RPID_T, HDR_SERVER_T, HDR_SESSIONEXPIRES_T, HDR_SIPIFMATCH_T, HDR_SUBJECT_T, HDR_SUBSCRIPTION_STATE_T, HDR_SUPPORTED_T, HDR_TO_T, HDR_UNSUPPORTED_T, HDR_USERAGENT_T, HDR_VIA_T, HDR_WWW_AUTHENTICATE_T, hdr_field::parsed, and hdr_field::type.
Referenced by free_hdr_field_lst(), and rpc_delayed_ctx_close().


| void free_hdr_field_lst | ( | struct hdr_field * | hf | ) |
frees a hdr_field list.
WARNING: frees only ->parsed and ->next
Definition at line 218 of file hf.c.
References clean_hdr_field(), and hdr_field::next.

1.7.1