aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/daemon.h')
-rw-r--r--src/libcharon/daemon.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcharon/daemon.h b/src/libcharon/daemon.h
index 78c78b356..04f1fc249 100644
--- a/src/libcharon/daemon.h
+++ b/src/libcharon/daemon.h
@@ -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();