[sr-dev] git:andrei/rve_f_params: core: internal module interface changes

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Aug 4 16:21:23 CEST 2010


Module: sip-router
Branch: andrei/rve_f_params
Commit: dee21fffc8c610a14dec348d286108dbd377b9a0
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dee21fffc8c610a14dec348d286108dbd377b9a0

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Aug  4 15:38:58 2010 +0200

core: internal module interface changes

Use a new internal representation for the module interface, that
combines the ser & kamailio module interfaces plus some extra
internal stuff.
This allows using extra flags (e.g. the new internal fixup_flags)
and also simplifies all the functions dealing with the module
interface or cmd_exports (since now there is a single internal
interface there's no need to check its version and access it
differently depending on it).
The ser or kamailio module interfaces are converted to the new
sr31 mod interface when the modules are loaded
(register_module()).

---

 action.c    |   24 ++--
 cfg.y       |   24 ++--
 modparam.c  |    8 +-
 route.c     |   17 +--
 sr_module.c |  459 +++++++++++++++++++++++++++--------------------------------
 sr_module.h |   70 ++++++++-
 6 files changed, 305 insertions(+), 297 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=dee21fffc8c610a14dec348d286108dbd377b9a0



More information about the sr-dev mailing list