summaryrefslogtreecommitdiffstats
path: root/eurephiadm/client_context.c
Commit message (Collapse)AuthorAgeFilesLines
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-261-1/+1
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-261-3/+3
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* BUGFIX: Fixed no logging when log file is given in both config file and on ↵David Sommerseth2008-12-021-1/+1
| | | | command line
* Improved error handling if database_driver is not defined.David Sommerseth2008-12-011-1/+1
|
* Improved ugly comment errorDavid Sommerseth2008-12-011-1/+1
|
* Receive eurephiaVALUES struct with config instead of char *db interface.David Sommerseth2008-12-011-4/+43
| | | | | | Get the database driver directly from config file. Implemented also log settings via config file as well, which can be overridden by future command line arguments.
* Split eurephiadm.c into several filesDavid Sommerseth2008-12-011-0/+76
As the code size on eurephiadm.c have grown quite a lot, it was about time to split it into categories. client_config.[ch] Manages unified config file and filenames, including directory for these files. It also has the possibility to also override defaults via environment variables. It also contains a simple config file parser which puts the config values into an eurephiaVALUES struct. client_context.[ch] Functions for creating and destroying an eurephia context needed for proper implementation. client_session.[ch] Functions for creating and reopening old eurephia sessions, needed for proper implementation. Also went through all include statements, to make sure each file do not include more than absolutely needed.