Moved logger initialization from libcharon to charon
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user