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

Function parse_store_bavp

modules/uac/uac.c:184–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184inline static int parse_store_bavp(str *s, pv_spec_t *bavp)
185{
186 s->len = strlen(s->s);
187 if (pv_parse_spec(s, bavp)==NULL) {
188 LM_ERR("malformed bavp definition %s\n", s->s);
189 return -1;
190 }
191 /* check if there is a bavp type */
192 if (bavp->type != (pv_type_t)(903 + PVT_EXTRA)) {
193 LM_ERR("store parameter must be an bavp\n");
194 return -1;
195 }
196 return 0;
197
198}
199
200
201static int mod_init(void)

Callers 1

mod_initFunction · 0.85

Calls 1

pv_parse_specFunction · 0.85

Tested by

no test coverage detected