Moved logger initialization from libcharon to charon

This commit is contained in:
Martin Willi
2011-01-05 16:45:40 +01:00
parent 3d653727a8
commit 84f89634ef
3 changed files with 149 additions and 156 deletions
+4 -1
View File
@@ -298,7 +298,7 @@ struct daemon_t {
/**
* Initialize the daemon.
*/
bool (*initialize)(daemon_t *this, bool syslog, level_t levels[]);
bool (*initialize)(daemon_t *this);
/**
* Starts the daemon, i.e. spawns the threads of the thread pool.
@@ -317,6 +317,9 @@ extern daemon_t *charon;
/**
* Initialize libcharon and create the "charon" instance of daemon_t.
*
* This function initializes the bus, listeners can be registered before
* calling initialize().
*
* @return FALSE if integrity check failed
*/
bool libcharon_init();