Module: sip-router
Branch: master
Commit: 5099fd64fb8dcf6445c77bbefda8764c7edf457f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5099fd6…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue May 12 00:39:03 2009 +0200
rpc: added register function and switched to hash table
- rpc switched to hashtable
- added rpc register function, that can be called from modules not
using ser module interface (e.g. kamailio or future sip-router
module interface).
---
core_cmd.c | 78 ++++++++++----------
core_cmd.h | 3 +-
main.c | 3 +
rpc_lookup.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rpc_lookup.h | 46 ++++++++++++
sr_module.c | 43 ++++-------
6 files changed, 325 insertions(+), 68 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=509…