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

Function destroy_avps

usr_avp.c:406–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406int destroy_avps( unsigned short flags, int name, int all)
407{
408 struct usr_avp *avp;
409 int n;
410
411 n = 0;
412 while ( (avp=search_first_avp( flags, name, 0, 0))!=0 ) {
413 destroy_avp( avp );
414 n++;
415 if ( !all )
416 break;
417 }
418 return n;
419}
420
421void destroy_index_avp( unsigned short flags, int name, int index)
422{

Callers 12

serialize_branchesFunction · 0.85
pv_set_avpFunction · 0.85
ds_select_dstFunction · 0.85
lb_routeFunction · 0.85
do_lb_resetFunction · 0.85
pv_set_tm_branch_avpFunction · 0.85
do_routingFunction · 0.85
route2_carrierFunction · 0.85
b2b_logic_notify_replyFunction · 0.85
b2b_logic_notify_requestFunction · 0.85
b2bl_api_initFunction · 0.85
b2bl_script_init_requestFunction · 0.85

Calls 2

search_first_avpFunction · 0.85
destroy_avpFunction · 0.85

Tested by

no test coverage detected