[sr-dev] git:master: core: helper function for mod fixup when all parameters are spve

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 16 22:45:50 CET 2012


Module: sip-router
Branch: master
Commit: 182410942b81e0a9b2820068a7cc1af916f747e8
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=182410942b81e0a9b2820068a7cc1af916f747e8

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Jan 16 16:36:24 2012 +0100

core: helper function for mod fixup when all parameters are spve

---

 mod_fix.c |    8 ++++++++
 mod_fix.h |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/mod_fix.c b/mod_fix.c
index df0ca54..f0207e7 100644
--- a/mod_fix.c
+++ b/mod_fix.c
@@ -541,3 +541,11 @@ free_fixup_function mod_fix_get_fixup_free(fixup_function f)
 	if (f == fixup_spve_str) return fixup_free_spve_str;
 	return 0;
 }
+
+/**
+ *
+ */
+int fixup_spve_all(void** param, int param_no)
+{
+	return fixup_spve_null(param, 1);
+}
diff --git a/mod_fix.h b/mod_fix.h
index 9c06bc5..1f264d1 100644
--- a/mod_fix.h
+++ b/mod_fix.h
@@ -128,6 +128,7 @@ int fixup_spve_uint(void** param, int param_no);
 int fixup_spve_str(void** param, int param_no);
 int fixup_free_spve_str(void** param, int param_no);
 
+int fixup_spve_all(void** param, int param_no);
 
 /** get the corresp. free fixup function.*/
 free_fixup_function mod_fix_get_fixup_free(fixup_function f);




More information about the sr-dev mailing list