Add the tasks list concept
authorNeutron Soutmun <neo.neutron@gmail.com>
Fri, 12 Sep 2008 11:56:30 +0000 (18:56 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Sun, 2 Nov 2008 19:43:11 +0000 (02:43 +0700)
commitcf90d9f4e60f515ae835451b841ce4df92ca1a34
tree7dd52adb86020026b325abe7851494e4ba7f48df
parentb1bb912de56607e397dd65f43cce29f66f79a172
Add the tasks list concept

2008-09-12  Neutron Soutmun <neo.neutron@gmail.com>

* +src/rh-task-*.{h,c}:
- Add the tasks concept of the workers. eg. memset, ipset,
    dbset and etc.
  - Each tasks provide the function to handle each events,
eg. init, start and stop service, start and stop session.
* src/rahunas.{h,c}, src/rh-ipset.{h,c}, src/rh-utils.{h,c},
  src/rh-xmlrpc-server.c:
  Change respectively to new tasks concept and do code beautifier.
* +src/rh-config.h: Move the configuration definitions from rahunasd.h.
* src/Makefile.am: Change respectively to properly build the tasks concept.
* AUTHORS: Add Suriya Soutmun to the author team.
19 files changed:
AUTHORS
ChangeLog
src/Makefile.am
src/rahunasd.c
src/rahunasd.h
src/rh-config.h [new file with mode: 0644]
src/rh-ipset.c
src/rh-ipset.h
src/rh-task-dbset.c [new file with mode: 0644]
src/rh-task-dbset.h [new file with mode: 0644]
src/rh-task-ipset.c [new file with mode: 0644]
src/rh-task-ipset.h [new file with mode: 0644]
src/rh-task-memset.c [new file with mode: 0644]
src/rh-task-memset.h [new file with mode: 0644]
src/rh-task.c [new file with mode: 0644]
src/rh-task.h [new file with mode: 0644]
src/rh-utils.c
src/rh-utils.h
src/rh-xmlrpc-server.c