| 3974 | } |
| 3975 | |
| 3976 | static int pv_parse_avp_index(pv_spec_p sp, const str *in) |
| 3977 | { |
| 3978 | #define AVP_APPEND_IDX "append" |
| 3979 | |
| 3980 | if(in==NULL || in->s==NULL || sp==NULL) |
| 3981 | return -1; |
| 3982 | |
| 3983 | if ( (in->len==(sizeof(AVP_APPEND_IDX)-1)) && |
| 3984 | strncasecmp(in->s,AVP_APPEND_IDX,in->len)==0) { |
| 3985 | sp->pvp.pvi.type = PV_IDX_APPEND; |
| 3986 | return 0; |
| 3987 | } |
| 3988 | return pv_parse_index(sp,in); |
| 3989 | } |
| 3990 | |
| 3991 | int pv_parse_index(pv_spec_p sp, const str *in) |
| 3992 | { |
nothing calls this directly
no test coverage detected