summaryrefslogtreecommitdiffstats
path: root/eurephiadm/client_context.h
Commit message (Collapse)AuthorAgeFilesLines
* Updated copyright datesDavid Sommerseth2012-10-081-1/+1
| | | | Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
* Updated Copyright dates to include 2010David Sommerseth2010-07-301-1/+1
|
* Added extra parameter to eurephia_log_init() to set log ident for syslogDavid Sommerseth2009-09-241-1/+1
|
* Rewritten the eurephia_log() to support syslog logging as wellDavid Sommerseth2009-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also simplified the initialisation of the logging module. By calling the eurephia_log_init(eurephiaCTX *, char *dest, int loglevel) function, a log context will be setup inside the eurephiaCTX. To close the log file, eurephia_log_close(eurephiaCTX *) must be called. The destination string to eurephia_log_init() can be: - stdout: Log everything to stdout - stderr: Log everything to stderr - none: Do no logging at all - syslog:<facility> Log via syslog. <facility> can be: user, local[0-7], daemon or authpriv. - Filename All logging goes to the given filename. If the filename string is not recognised by any of the reserved words above, it will be handled as a filename.
* Added doxygen comments for the main eurephiadm partsDavid Sommerseth2009-09-041-0/+9
|
* Made the licence explicit GPLv2 onlyDavid Sommerseth2009-03-261-1/+1
|
* Cleaned up the code a little bitDavid Sommerseth2009-03-261-2/+3
| | | | | Made sure we only include needed include files and checked that the copyright headers are equal and correct
* Receive eurephiaVALUES struct with config instead of char *db interface.David Sommerseth2008-12-011-1/+1
| | | | | | 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/+27
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.