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

Function pv_parse_avp_index

pvar.c:3976–3989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3974}
3975
3976static int pv_parse_avp_index(pv_spec_p sp, const str *in)
3977{
3978 #define AVP_APPEND_IDX "append"
3979
3980 if(in==NULL || in->s==NULL || sp==NULL)
3981 return -1;
3982
3983 if ( (in->len==(sizeof(AVP_APPEND_IDX)-1)) &&
3984 strncasecmp(in->s,AVP_APPEND_IDX,in->len)==0) {
3985 sp->pvp.pvi.type = PV_IDX_APPEND;
3986 return 0;
3987 }
3988 return pv_parse_index(sp,in);
3989}
3990
3991int pv_parse_index(pv_spec_p sp, const str *in)
3992{

Callers

nothing calls this directly

Calls 1

pv_parse_indexFunction · 0.85

Tested by

no test coverage detected