Module: sip-router
Branch: master
Commit: df472fa9bdaa1a796dd220c99a64b1539c8854b5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=df472fa…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: Fri Sep 20 11:07:14 2013 +0200
pv: Move pv_xavp_name_t declaration to core pvar.h
---
modules/pv/pv_xavp.h | 6 ------
pvar.h | 10 ++++++++++
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/modules/pv/pv_xavp.h b/modules/pv/pv_xavp.h
index 2e12870..4851b3f 100644
--- a/modules/pv/pv_xavp.h
+++ b/modules/pv/pv_xavp.h
@@ -23,12 +23,6 @@
#include "../../pvar.h"
-typedef struct _pv_xavp_name {
- str name;
- pv_spec_t index;
- struct _pv_xavp_name *next;
-} pv_xavp_name_t;
-
int pv_get_xavp(struct sip_msg *msg, pv_param_t *param,
pv_value_t *res);
int pv_set_xavp(struct sip_msg* msg, pv_param_t *param,
diff --git a/pvar.h b/pvar.h
index c35ae94..4d69a43 100644
--- a/pvar.h
+++ b/pvar.h
@@ -288,5 +288,15 @@ void tr_param_free(tr_param_t *tp);
int register_trans_mod(char *mod_name, tr_export_t *items);
+
+/**
+ * XAVP
+ */
+typedef struct _pv_xavp_name {
+ str name;
+ pv_spec_t index;
+ struct _pv_xavp_name *next;
+} pv_xavp_name_t;
+
#endif