Module: sip-router
Branch: ser_core_cvs
Commit: 22db42e4efe8cd4a85e05a54cf513b3d1fd0ee53
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=22db42e…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Mar 5 17:20:22 2009 +0000
tcp: use dynamic config framework, part 1
- all tcp config variables from tcp_options.h migrated to the
dynamic configuration framework. For now all are read only, but
write support will come soon where it makes sense.
E.g.: (with the cfg_rpc module loaded)
$ sercmd cfg.help tcp async
async mode for writes and connects
(parameter type is integer)
$ sercmd cfg.get tcp async
0
---
cfg.y | 26 ++++++------
core_cmd.c | 2 +-
main.c | 46 +++++++++++---------
tcp_main.c | 86 ++++++++++++++++++------------------
tcp_options.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++---------
tcp_options.h | 16 +++++--
tcp_read.c | 2 +-
7 files changed, 207 insertions(+), 105 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=22d…