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

Function pv_get_bflags

pvar.c:1199–1210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199static int pv_get_bflags(struct sip_msg *msg, pv_param_t *param,
1200 pv_value_t *res)
1201{
1202 str buf;
1203
1204 if (!msg)
1205 return -1;
1206
1207 buf = bitmask_to_flag_list(FLAG_TYPE_BRANCH, getb0flags(msg));
1208
1209 return pv_get_strval(msg, param, res, &buf);
1210}
1211
1212static int pv_get_callid(struct sip_msg *msg, pv_param_t *param,
1213 pv_value_t *res)

Callers

nothing calls this directly

Calls 2

bitmask_to_flag_listFunction · 0.85
pv_get_strvalFunction · 0.85

Tested by

no test coverage detected