Module: kamailio
Branch: master
Commit: b536f6d5e8ffdc08b8d4a40e3236d305cf4fa03f
URL:
https://github.com/kamailio/kamailio/commit/b536f6d5e8ffdc08b8d4a40e3236d30…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-04-01T10:40:38+02:00
core: pv - define xavu types
---
Modified: src/core/pvar.h
---
Diff:
https://github.com/kamailio/kamailio/commit/b536f6d5e8ffdc08b8d4a40e3236d30…
Patch:
https://github.com/kamailio/kamailio/commit/b536f6d5e8ffdc08b8d4a40e3236d30…
---
diff --git a/src/core/pvar.h b/src/core/pvar.h
index 2a249ea118..ffde26dedb 100644
--- a/src/core/pvar.h
+++ b/src/core/pvar.h
@@ -77,8 +77,8 @@ enum _pv_type {
PVT_DSTURI, PVT_COLOR, PVT_BRANCH,
PVT_FROM, PVT_TO, PVT_OURI,
PVT_SCRIPTVAR, PVT_MSG_BODY, PVT_CONTEXT,
- PVT_XAVP, PVT_HDRC, PVT_OTHER,
- PVT_EXTRA /* keep it last */
+ PVT_XAVP, PVT_XAVU, PVT_HDRC,
+ PVT_OTHER, PVT_EXTRA /* keep it last */
};
typedef enum _pv_type pv_type_t;
@@ -306,6 +306,14 @@ typedef struct _pv_xavp_name {
struct _pv_xavp_name *next;
} pv_xavp_name_t;
+/**
+ * XAVU
+ */
+typedef struct _pv_xavu_name {
+ str name;
+ struct _pv_xavu_name *next;
+} pv_xavu_name_t;
+
int pv_eval_str(sip_msg_t *msg, str *dst, str *src);
#endif