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

Function fixup_avpname_list

modules/sqlops/sqlops.c:568–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566}
567
568static int fixup_avpname_list(void** param)
569{
570 pvname_list_t *anlist = NULL;
571 str s = *(str *)*param;
572
573 if(s.s==NULL || s.s[0]==0) {
574 *param = NULL;
575 return 0;
576 }
577
578 anlist = parse_pvname_list(&s, PVT_AVP);
579 if(anlist==NULL)
580 {
581 LM_ERR("bad list of AVPs in [%.*s]\n", s.len, s.s);
582 return E_UNSPEC;
583 }
584 *param = (void*)anlist;
585 return 0;
586}
587
588static int fixup_pvname_list(void** param)
589{

Callers

nothing calls this directly

Calls 1

parse_pvname_listFunction · 0.85

Tested by

no test coverage detected