#include "pvar.h"


Go to the source code of this file.
Data Structures | |
| struct | _gparam |
Defines | |
| #define | GPARAM_TYPE_INT 0 |
| #define | GPARAM_TYPE_PVE 3 |
| #define | GPARAM_TYPE_PVS 2 |
| #define | GPARAM_TYPE_STR 1 |
Typedefs | |
| typedef struct _gparam * | gparam_p |
| typedef struct _gparam | gparam_t |
Functions | |
| int | fixup_free_igp_pvar_pvar (void **param, int param_no) |
fixup free for functions that get three parameters
| |
| int | fixup_free_pvar_null (void **param, int param_no) |
fixup free for functions that get one parameter
| |
| int | fixup_free_pvar_pvar (void **param, int param_no) |
fixup free for functions that get two parameters
| |
| int | fixup_free_pvar_str (void **param, int param_no) |
fixup free for functions that get two parameters
| |
| int | fixup_free_pvar_str_str (void **param, int param_no) |
fixup free for functions that get three parameters
| |
| int | fixup_free_regexp_none (void **param, int param_no) |
| int | fixup_free_regexp_null (void **param, int param_no) |
| int | fixup_free_str_null (void **param, int param_no) |
fixup free for functions that get one parameter
| |
| int | fixup_free_str_str (void **param, int param_no) |
fixup free for functions that get two parameters
| |
| int | fixup_get_ivalue (struct sip_msg *msg, gparam_p gp, int *val) |
| |
| int | fixup_get_svalue (struct sip_msg *msg, gparam_p gp, str *val) |
| |
| int | fixup_igp_igp (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_igp_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_igp_pvar_pvar (void **param, int param_no) |
fixup for functions that get three parameters
| |
| int | fixup_pvar (void **param) |
| |
| int | fixup_pvar_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_pvar_pvar (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_pvar_str (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_pvar_str_str (void **param, int param_no) |
fixup for functions that get three parameters
| |
| int | fixup_regexp_none (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_regexp_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_regexpNL_none (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_regexpNL_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_spve_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_spve_spve (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_spve_str (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_spve_uint (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_str_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_str_str (void **param, int param_no) |
fixup for functions that get two parameters
| |
| int | fixup_uint_null (void **param, int param_no) |
fixup for functions that get one parameter
| |
| int | fixup_uint_uint (void **param, int param_no) |
fixup for functions that get two parameters
| |
Definition in file mod_fix.h.
| #define GPARAM_TYPE_INT 0 |
Definition at line 33 of file mod_fix.h.
Referenced by add_hf_helper(), carrier_fixup(), cr_gp2id(), domain_fixup(), fixup_get_ivalue(), fixup_igp(), hname_fixup(), is_present_hf_f(), and remove_hf_f().
| #define GPARAM_TYPE_PVE 3 |
Definition at line 36 of file mod_fix.h.
Referenced by cr_gp2id(), fixup_get_svalue(), and fixup_spve().
| #define GPARAM_TYPE_PVS 2 |
| #define GPARAM_TYPE_STR 1 |
Definition at line 34 of file mod_fix.h.
Referenced by carrier_fixup(), domain_fixup(), fixup_get_svalue(), fixup_spve(), free_hname_fixup(), and hname_fixup().
| int fixup_free_igp_pvar_pvar | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get three parameters
Definition at line 713 of file mod_fix.c.
References E_UNSPEC, fixup_free_pvar(), and LM_ERR.
| int fixup_free_pvar_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get one parameter
Definition at line 488 of file mod_fix.c.
References E_UNSPEC, fixup_free_pvar(), and LM_ERR.
Referenced by fixup_free_http_query().
| int fixup_free_pvar_pvar | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get two parameters
Definition at line 520 of file mod_fix.c.
References E_UNSPEC, fixup_free_pvar(), and LM_ERR.
| int fixup_free_pvar_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get two parameters
Definition at line 558 of file mod_fix.c.
References E_UNSPEC, fixup_free_pvar(), fixup_free_str(), and LM_ERR.
| int fixup_free_pvar_str_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get three parameters
Definition at line 598 of file mod_fix.c.
References E_UNSPEC, fixup_free_pvar(), fixup_free_str(), and LM_ERR.
| int fixup_free_regexp_none | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get two parameters
Definition at line 416 of file mod_fix.c.
References E_UNSPEC, fixup_free_regexp(), and LM_ERR.
Referenced by search_api(), and search_append_api().
| int fixup_free_regexp_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get one parameter
Definition at line 366 of file mod_fix.c.
References E_UNSPEC, fixup_free_regexp(), and LM_ERR.
| int fixup_free_str_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get one parameter
Definition at line 129 of file mod_fix.c.
References E_UNSPEC, fixup_free_str(), and LM_ERR.
| int fixup_free_str_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup free for functions that get two parameters
Definition at line 144 of file mod_fix.c.
References E_UNSPEC, fixup_free_str(), and LM_ERR.
Definition at line 729 of file mod_fix.c.
References _pv_value::flags, GPARAM_TYPE_INT, _gparam::ival, LM_ERR, pv_get_spec_value(), PV_VAL_INT, PV_VAL_NULL, _gparam::pvs, _pv_value::ri, _gparam::type, and _gparam::v.
Referenced by allow_address(), allow_source_address(), w_dlg_isflagset(), w_dlg_resetflag(), w_dlg_setflag(), w_ds_select_domain(), w_ds_select_dst(), w_prefix2domain_1(), and w_prefix2domain_2().
Definition at line 853 of file mod_fix.c.
References _pv_value::flags, GPARAM_TYPE_PVE, GPARAM_TYPE_PVS, GPARAM_TYPE_STR, LM_ERR, pv_get_spec_value(), pv_printf_s(), PV_VAL_NULL, PV_VAL_STR, _gparam::pve, _gparam::pvs, _pv_value::rs, _gparam::sval, _gparam::type, and _gparam::v.
Referenced by add_hf_helper(), alias_db_lookup(), append_to_reply_f(), authorize(), cfg_lock_helper(), challenge(), cmp_istr_f(), cmp_str_f(), cr_do_route(), cr_gp2id(), cr_load_next_domain(), cr_load_user_carrier(), http_query(), m_dump(), m_store(), pv_authorize(), pv_fetch_contacts(), radius_is_user_in(), radius_load_callee_avps(), radius_load_caller_avps(), sd_lookup(), set_body_f(), set_rpl_body_f(), unregister(), w_cmp_aor(), w_cmp_uri(), w_dlg_bridge(), w_dlg_get(), w_dlg_refer(), w_exec_avp(), w_exec_dset(), w_exec_msg(), w_pcre_match(), and w_pcre_match_group().
| int fixup_igp_igp | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 679 of file mod_fix.c.
References E_UNSPEC, fixup_igp(), and LM_ERR.
| int fixup_igp_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 664 of file mod_fix.c.
References E_UNSPEC, fixup_igp(), and LM_ERR.
| int fixup_igp_pvar_pvar | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get three parameters
Definition at line 695 of file mod_fix.c.
References E_UNSPEC, fixup_igp(), fixup_pvar(), and LM_ERR.
| int fixup_pvar | ( | void ** | param | ) |
Definition at line 432 of file mod_fix.c.
References E_UNSPEC, _str::len, LM_ERR, pkg_free, pkg_malloc, pv_parse_spec(), PVT_NULL, _str::s, and _pv_spec::type.
Referenced by fixup_get_profile2(), fixup_http_query(), fixup_igp_pvar_pvar(), fixup_pvar_null(), fixup_pvar_pvar(), fixup_pvar_str(), fixup_pvar_str_str(), and fixup_stat().
| int fixup_pvar_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 474 of file mod_fix.c.
References E_UNSPEC, fixup_pvar(), and LM_ERR.
| int fixup_pvar_pvar | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 502 of file mod_fix.c.
References E_UNSPEC, fixup_pvar(), and LM_ERR.
| int fixup_pvar_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 539 of file mod_fix.c.
References E_UNSPEC, fixup_pvar(), fixup_str(), and LM_ERR.
| int fixup_pvar_str_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get three parameters
Definition at line 578 of file mod_fix.c.
References E_UNSPEC, fixup_pvar(), fixup_str(), and LM_ERR.
| int fixup_regexp_none | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 381 of file mod_fix.c.
References E_UNSPEC, fixup_regexp(), and LM_ERR.
Referenced by search_api(), and search_append_api().
| int fixup_regexp_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 337 of file mod_fix.c.
References E_UNSPEC, fixup_regexp(), and LM_ERR.
| int fixup_regexpNL_none | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 399 of file mod_fix.c.
References E_UNSPEC, fixup_regexp(), and LM_ERR.
| int fixup_regexpNL_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 352 of file mod_fix.c.
References E_UNSPEC, fixup_regexp(), and LM_ERR.
| int fixup_spve_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 788 of file mod_fix.c.
References E_UNSPEC, fixup_spve(), and LM_ERR.
Referenced by add_header_fixup(), auth_fixup(), avp_name_fixup(), carrier_fixup(), cr_load_next_domain_fixup(), cr_load_user_carrier_fixup(), cr_route_fixup(), domain_fixup(), exec_avp_fixup(), fetchc_fixup(), fixup_dlg_bridge(), fixup_dlg_refer(), fixup_http_query(), mod_init(), and unreg_fixup().
| int fixup_spve_spve | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 803 of file mod_fix.c.
References E_UNSPEC, fixup_spve(), and LM_ERR.
| int fixup_spve_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 836 of file mod_fix.c.
References E_UNSPEC, fixup_spve(), fixup_str(), and LM_ERR.
| int fixup_spve_uint | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 818 of file mod_fix.c.
References E_UNSPEC, fixup_spve(), fixup_uint(), and LM_ERR.
| int fixup_str_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 100 of file mod_fix.c.
References E_UNSPEC, fixup_str(), and LM_ERR.
Referenced by fetchc_fixup().
| int fixup_str_str | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 115 of file mod_fix.c.
References E_UNSPEC, fixup_str(), and LM_ERR.
| int fixup_uint_null | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get one parameter
Definition at line 181 of file mod_fix.c.
References E_UNSPEC, fixup_uint(), and LM_ERR.
Referenced by fixup_fix_sdp().
| int fixup_uint_uint | ( | void ** | param, | |
| int | param_no | |||
| ) |
fixup for functions that get two parameters
Definition at line 196 of file mod_fix.c.
References E_UNSPEC, fixup_uint(), and LM_ERR.
1.5.6