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

Function pv_get_flags

pvar.c:1186–1197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184}
1185
1186static int pv_get_flags(struct sip_msg *msg, pv_param_t *param,
1187 pv_value_t *res)
1188{
1189 str buf;
1190
1191 if (!msg)
1192 return -1;
1193
1194 buf = bitmask_to_flag_list(FLAG_TYPE_MSG, msg->flags);
1195
1196 return pv_get_strval(msg, param, res, &buf);
1197}
1198
1199static int pv_get_bflags(struct sip_msg *msg, pv_param_t *param,
1200 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