[SR-Dev] git:master: lcr: added ser RPC support

Andrei Pelinescu-Onciul andrei at iptel.org
Wed May 13 19:23:38 CEST 2009


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

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed May 13 13:52:51 2009 +0200

lcr: added ser RPC support

- copied & adapted lcr_rpc.[ch] from the ser version of lcr.
- register the rpc array from mod_init if RPC_SUPPORT is defined
 (defined by default in lcr_rpc.h unless lcr is compiled with
  -DNO_RPC_SUPPORT).
- init db for all the children if RPC_SUPPORT is defined
 (needed for xmlrpc which does not run in a separate process)
- moved some defines, structs and typedefs from lcr_mod.c to lcr_mod.h.

---

 modules/lcr/lcr_mod.c |   62 ++++++++++++--------
 modules/lcr/lcr_mod.h |   27 ++++++++
 modules/lcr/lcr_rpc.c |  158 +++++++++++++++++++++++++++++++++++++++++++++++++
 modules/lcr/lcr_rpc.h |   43 +++++++++++++
 4 files changed, 265 insertions(+), 25 deletions(-)

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



More information about the sr-dev mailing list