Module: sip-router
Branch: rbetancor/drouting
Commit: 1c5d19277a14e71167c81665d6de8173e61a2ccb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1c5d192…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Fri Jun 19 16:40:24 2009 +0300
* core
* Added fixup_igp_pvar and fixup_free_igp_pvar fixup functions.
---
mod_fix.c | 1 +
mod_fix.h | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/mod_fix.c b/mod_fix.c
index a228e16..90a4a4d 100644
--- a/mod_fix.c
+++ b/mod_fix.c
@@ -176,6 +176,7 @@ FIXUP_F2T(pvar_str_str, 1, 3, 1, FPARAM_PVS, FPARAM_STR)
FIXUP_F2FP(igp_null, 1, 1, 1, FPARAM_INT|FPARAM_PVS, 0)
FIXUP_F2FP(igp_igp, 1, 2, 2, FPARAM_INT|FPARAM_PVS, 0)
+FIXUP_F2FP(igp_pvar, 1, 2, 1, FPARAM_INT|FPARAM_PVS, FPARAM_PVS)
FIXUP_F2FP_T(igp_pvar_pvar, 1, 3, 1, FPARAM_INT|FPARAM_PVS, FPARAM_PVS)
diff --git a/mod_fix.h b/mod_fix.h
index 257d78c..37bccb6 100644
--- a/mod_fix.h
+++ b/mod_fix.h
@@ -109,6 +109,9 @@ int fixup_igp_igp(void** param, int param_no);
int fixup_igp_null(void** param, int param_no);
int fixup_get_ivalue(struct sip_msg* msg, gparam_p gp, int *val);
+int fixup_igp_pvar(void** param, int param_no);
+int fixup_free_igp_pvar(void** param, int param_no);
+
int fixup_igp_pvar_pvar(void** param, int param_no);
int fixup_free_igp_pvar_pvar(void** param, int param_no);