added: program reads its configuration from a config file

added: confparser directory and confparser.h and confparser.cpp
       class ConfParser used to parse a config file
       this is a generic parser, can be used by another project
added: config.h, config.cpp
       class Config used for assigning values from 
       a config file into the data object
added: function for signals: SIGINT, SIGHUP
       after receiving SIGHUP the program will read
       its config file again


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@463 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2008-12-11 02:46:16 +00:00
parent c53e985a92
commit 8aab988752
15 changed files with 449 additions and 219 deletions

View File

@@ -41,9 +41,11 @@ struct Request
PostTable post_table;
CookieTable cookie_table;
// environment variables (can be null)
const char * env_request_method;
const char * env_request_uri;
const char * env_http_cookie;
const char * env_remote_addr;
// current session
// is set after calling session_manager.SetSession()