Module: sip-router
Branch: mgw/json
Commit: fb2c0e167262e9408d5b83241d4ee5c35a99c0e9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fb2c0e1…
Author: Matthew Williams <mgwilliams(a)gmail.com>
Committer: Matthew Williams <mgwilliams(a)gmail.com>
Date: Tue May 7 10:51:11 2013 -0700
jsonrpc-c: overhaul of jsonrpc-c module
---
modules/jsonrpc-c/Makefile | 11 +-
modules/jsonrpc-c/README | 314 +++++--
modules/jsonrpc-c/TODO | 1 -
modules/jsonrpc-c/doc/jsonrpc-c.xml | 37 +-
modules/jsonrpc-c/doc/jsonrpc-c_admin.xml | 324 ++++++-
modules/jsonrpc-c/jsonrpc.c | 174 ----
modules/jsonrpc-c/jsonrpc.h | 127 +++-
modules/jsonrpc-c/jsonrpc_connect.c | 319 +++++++
modules/jsonrpc-c/jsonrpc_connect.h | 51 +
modules/jsonrpc-c/jsonrpc_funcs.c | 266 ++++++
modules/jsonrpc-c/jsonrpc_funcs.h | 64 ++
modules/jsonrpc-c/jsonrpc_global.c | 31 +
modules/jsonrpc-c/jsonrpc_io.c | 1085 ++++++++++++++--------
modules/jsonrpc-c/jsonrpc_io.h | 76 ++-
modules/jsonrpc-c/jsonrpc_mod.c | 301 +++++--
modules/jsonrpc-c/jsonrpc_request.c | 369 ++++++--
modules/jsonrpc-c/jsonrpc_request.h | 46 +-
modules/jsonrpc-c/jsonrpc_server.c | 613 ++++++++++++
modules/jsonrpc-c/jsonrpc_server.h | 132 +++
modules/jsonrpc-c/jsonrpc_srv.c | 316 +++++++
modules/jsonrpc-c/jsonrpc_srv.h | 55 ++
modules/jsonrpc-c/netstring.c | 379 +++++---
modules/jsonrpc-c/netstring.h | 36 +-
modules/jsonrpc-c/test/mem-test.sh | 4 +
modules/jsonrpc-c/test/run-tests.sh | 4 +
modules/jsonrpc-c/test/test.cfg | 94 ++
modules/jsonrpc-c/unit_tests/.gitignore | 1 +
modules/jsonrpc-c/unit_tests/Makefile | 11 +
modules/jsonrpc-c/unit_tests/netstring.c | 351 +++++++
modules/jsonrpc-c/unit_tests/seatest/license.txt | 19 +
modules/jsonrpc-c/unit_tests/seatest/seatest.c | 248 +++++
modules/jsonrpc-c/unit_tests/seatest/seatest.h | 74 ++
modules/jsonrpc-c/unit_tests/test.h | 48 +
33 files changed, 4957 insertions(+), 1024 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=fb2…