pv_xavp.h

00001 
00019 #ifndef _PV_XAVP_H_
00020 #define _PV_XAVP_H_
00021 
00022 #ifdef WITH_XAVP
00023 
00024 #include "../../pvar.h"
00025 
00026 typedef struct _pv_xavp_name {
00027         str name;
00028         pv_spec_t index;
00029         struct _pv_xavp_name *next;
00030 } pv_xavp_name_t;
00031 
00032 int pv_get_xavp(struct sip_msg *msg, pv_param_t *param,
00033                 pv_value_t *res);
00034 int pv_set_xavp(struct sip_msg* msg, pv_param_t *param,
00035                 int op, pv_value_t *val);
00036 int pv_parse_xavp_name(pv_spec_p sp, str *in);
00037 
00038 int pv_xavp_print(struct sip_msg* msg, char* s1, char *s2);
00039 
00040 #endif
00041 #endif