MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / add_avp

Function add_avp

usr_avp.c:145–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145int add_avp(unsigned short flags, int name, int_str val)
146{
147 struct usr_avp* avp;
148
149 avp = new_avp(flags, name, val);
150 if(avp == NULL) {
151 LM_ERR("Failed to create new avp structure\n");
152 return -1;
153 }
154
155 avp->next = *crt_avps;
156 *crt_avps = avp;
157 return 0;
158}
159
160int add_avp_last(unsigned short flags, int name, int_str val)
161{

Callers 15

serialize_branchesFunction · 0.85
w_cache_raw_queryFunction · 0.85
w_construct_uriFunction · 0.85
w_get_timestampFunction · 0.85
pv_set_avpFunction · 0.85
set_msg_branch_attrFunction · 0.85
h350_auth_lookupFunction · 0.85
h350_call_preferencesFunction · 0.85
h350_service_levelFunction · 0.85
push_ds_2_avpsFunction · 0.85
ds_select_dstFunction · 0.85
ds_is_in_listFunction · 0.85

Calls 1

new_avpFunction · 0.85

Tested by

no test coverage detected