Module: sip-router
Branch: bpintea/asi_binrpc2
Commit: 0252d6db8ef863fa52c2848a6a733857d97c697d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0252d6d…
Author: bpi <bpi(a)machine.office.iptego.net>
Committer: bpi <bpi(a)machine.office.iptego.net>
Date: Thu Jan 14 22:37:39 2010 +0100
- import the libbinrpc library; this library is a evolution of the initial
protocol described into and implemented by the 'ctl' module;
- compared to 'binrpc' library, it adds (rather small) improvements to the
original protocol, but offers a much more powerful API and incipient (but,
in most of the cases enough) networking functionality;
- compatibility with the initial protocol (and adjoined 'ctl' module) is
planned (until then, will live as a parallel alternative);
- original library's developed under
http://developer.berlios.de/projects/libbinrpc/ ;
- license changed from GPL2 to simplified BSD.
---
lib/binrpc2/COPYING | 30 +
lib/binrpc2/Makefile | 11 +
lib/binrpc2/Makefile.defs | 77 +++
lib/binrpc2/TODO | 27 +
lib/binrpc2/binrpc.h | 56 ++
lib/binrpc2/call.c | 1232 +++++++++++++++++++++++++++++++++++++
lib/binrpc2/call.h | 389 ++++++++++++
lib/binrpc2/cb.c | 533 ++++++++++++++++
lib/binrpc2/cb.h | 144 +++++
lib/binrpc2/config.h | 58 ++
lib/binrpc2/dissector.c | 233 +++++++
lib/binrpc2/dissector.h | 92 +++
lib/binrpc2/errcode.h | 51 ++
lib/binrpc2/errnr.c | 83 +++
lib/binrpc2/errnr.h | 83 +++
lib/binrpc2/ht.h | 392 ++++++++++++
lib/binrpc2/list.h | 974 +++++++++++++++++++++++++++++
lib/binrpc2/lock.c | 122 ++++
lib/binrpc2/lock.h | 96 +++
lib/binrpc2/log.c | 47 ++
lib/binrpc2/log.h | 80 +++
lib/binrpc2/mem.c | 54 ++
lib/binrpc2/mem.h | 57 ++
lib/binrpc2/misc.h | 241 ++++++++
lib/binrpc2/net.c | 909 +++++++++++++++++++++++++++
lib/binrpc2/net.h | 130 ++++
lib/binrpc2/print.c | 215 +++++++
lib/binrpc2/print.h | 40 ++
lib/binrpc2/tests/Makefile | 25 +
lib/binrpc2/tests/hash_test.c | 278 +++++++++
lib/binrpc2/tests/hasheval.c | 326 ++++++++++
lib/binrpc2/tests/test_call.c | 597 ++++++++++++++++++
lib/binrpc2/tests/test_callback.c | 201 ++++++
lib/binrpc2/tests/test_net.c | 165 +++++
lib/binrpc2/tests/test_print.c | 23 +
lib/binrpc2/tls.h | 41 ++
lib/binrpc2/utime.c | 52 ++
lib/binrpc2/utime.h | 46 ++
lib/binrpc2/value.c | 962 +++++++++++++++++++++++++++++
lib/binrpc2/value.h | 408 ++++++++++++
40 files changed, 9580 insertions(+), 0 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=025…