Module: sip-router Branch: master Commit: 182410942b81e0a9b2820068a7cc1af916f747e8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18241094...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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);