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

Function parse_auth_avp

modules/uac_auth/uac_auth.c:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98inline static int parse_auth_avp( char *avp_spec, pv_spec_t *avp, char *txt)
99{
100 str s;
101 s.s = avp_spec; s.len = strlen(s.s);
102 if (pv_parse_spec(&s, avp)==NULL) {
103 LM_ERR("malformed or non AVP %s AVP definition\n",txt);
104 return -1;
105 }
106 return 0;
107}
108
109
110

Callers 1

mod_initFunction · 0.85

Calls 1

pv_parse_specFunction · 0.85

Tested by

no test coverage detected