Add the liblcfg to handle config file
authorNeutron Soutmun <neo.neutron@gmail.com>
Wed, 26 Nov 2008 19:11:40 +0000 (02:11 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Wed, 26 Nov 2008 19:11:40 +0000 (02:11 +0700)
commit907730d5f0a9b31441da6f7b449d91a67e92b7d1
tree5481ddad75165f82184a0cdb989e18466634e4b1
parent0cb7b249ab7bbd9c8135bf3302e8faae6ec53066
Add the liblcfg to handle config file

2008-11-27  Neutron Soutmun <neo.neutron@gmail.com>

[ Suriya Soutmun ]
* +lcfg/lcfg_static.{h,c}, +lcfg/Makefile.am, +src/rh-config.c,
  src/rahunasd.{h,c}:
  Add liblcfg and their implementation to satisfy RahuNAS requirement.
* Makefile.am, configure.ac, src/Makefile.am:
  Add the lcfg and their implementation to build config and makefile.

[ Neutron Soutmun ]
* +example/rahunas.conf: Add example config file.
* -example/rahunas.firewall, -example/rahunas.bandwidth,
  +example/firewall.sh, +example/bandwidth.sh:
  - Rename the wrapper script.
  - Adjust the firewall.sh to satisfy the config implementation.
* example/rahunas.default:
  Remove the parts the moved to the config file.
* src/rh-ipset.c, src/rh-task-ipset.c, src/rh-xmlrpc-cmd.c:
  Update accordingly to new config implementation.
18 files changed:
ChangeLog
Makefile.am
configure.ac
example/bandwidth.sh [moved from example/rahunas.bandwidth with 100% similarity]
example/firewall.sh [moved from example/rahunas.firewall with 85% similarity]
example/rahunas.conf [new file with mode: 0644]
example/rahunas.default
lcfg/Makefile.am [new file with mode: 0644]
lcfg/lcfg_static.c [new file with mode: 0755]
lcfg/lcfg_static.h [new file with mode: 0755]
src/Makefile.am
src/rahunasd.c
src/rahunasd.h
src/rh-config.c [new file with mode: 0755]
src/rh-config.h
src/rh-ipset.c
src/rh-task-ipset.c
src/rh-xmlrpc-cmd.c