| 96 | |
| 97 | |
| 98 | inline static int parse_auth_avp( char *avp_spec, pv_spec_t *avp, char *txt) |
| 99 | { |
| 100 | str s; |
| 101 | s.s = avp_spec; s.len = strlen(s.s); |
| 102 | if (pv_parse_spec(&s, avp)==NULL) { |
| 103 | LM_ERR("malformed or non AVP %s AVP definition\n",txt); |
| 104 | return -1; |
| 105 | } |
| 106 | return 0; |
| 107 | } |
| 108 | |
| 109 | |
| 110 |
no test coverage detected