Module: sip-router Branch: master Commit: 690a19f54924cf5fef642b3542b3d86e41170508 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=690a19f5...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Wed Aug 11 22:24:46 2010 +0200
debugger: update the module functions types
Updated to the current module function types (MODULE*_T), after the rve_f_params merge. Removed MODULE_T and added MODULE0_T, MODULE1_T, MODULE2_T, MODULE1_RVE_T, MODULE2_RVE_T, MODULE3_RVE_T, MODULE4_RVE_T, MODULE5_RVE_T, MODULE6_RVE_T, MODULEX_RVE_T.
---
modules/debugger/debugger_act.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/modules/debugger/debugger_act.c b/modules/debugger/debugger_act.c index f99d63a..e9372fa 100644 --- a/modules/debugger/debugger_act.c +++ b/modules/debugger/debugger_act.c @@ -117,12 +117,21 @@ str* dbg_get_action_name(struct action *a) if(a->val[1].u.number&RETURN_R_F) return &_dbg_action_special[3]; return &_dbg_action_special[1]; - case MODULE_T: + case MODULE0_T: + case MODULE1_T: + case MODULE2_T: case MODULE3_T: case MODULE4_T: case MODULE5_T: case MODULE6_T: case MODULEX_T: + case MODULE1_RVE_T: + case MODULE2_RVE_T: + case MODULE3_RVE_T: + case MODULE4_RVE_T: + case MODULE5_RVE_T: + case MODULE6_RVE_T: + case MODULEX_RVE_T: cmd = (cmd_export_common_t*)(a->val[0].u.data); aname.s = cmd->name; aname.len = strlen(aname.s);