Hello,

i need to create a pv_spec_t for an avp, where i only have the name of the avp 
in a str (0 terminated). Is there a helper function to do this?

I know pv_parse_spec() exists, but is needs "$avp(name)" as input and is a bit 
of a heavy function. I only have "name", and need to get the same pv_spec_t as 
if pv_parse_spec() was called with "$avp(name)" as parameter.
-- 
Greetings,

Alex Hermann


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to