| 1184 | } |
| 1185 | |
| 1186 | static 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 | |
| 1199 | static int pv_get_bflags(struct sip_msg *msg, pv_param_t *param, |
| 1200 | pv_value_t *res) |
nothing calls this directly
no test coverage detected