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

Function pv_get_dset

pvar.c:1425–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1423}
1424
1425static int pv_get_dset(struct sip_msg *msg, pv_param_t *param,
1426 pv_value_t *res)
1427{
1428 str s;
1429
1430 if(msg==NULL)
1431 return -1;
1432
1433 s.s = print_dset(msg, &s.len);
1434 if (s.s == NULL)
1435 return pv_get_null(msg, param, res);
1436 s.len -= CRLF_LEN;
1437
1438 return pv_get_strval(msg, param, res, &s);
1439}
1440
1441
1442static int pv_get_dsturi(struct sip_msg *msg, pv_param_t *param,

Callers

nothing calls this directly

Calls 3

print_dsetFunction · 0.85
pv_get_nullFunction · 0.85
pv_get_strvalFunction · 0.85

Tested by

no test coverage detected