diff options
Diffstat (limited to 'src/libcharon/daemon.h')
-rw-r--r-- | src/libcharon/daemon.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libcharon/daemon.h b/src/libcharon/daemon.h index bfbf774ff..ad9ab4cd2 100644 --- a/src/libcharon/daemon.h +++ b/src/libcharon/daemon.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2010 Tobias Brunner + * Copyright (C) 2006-2012 Tobias Brunner * Copyright (C) 2005-2009 Martin Willi * Copyright (C) 2006 Daniel Roethlisberger * Copyright (C) 2005 Jan Hutter @@ -279,14 +279,17 @@ struct daemon_t { * This should be called after the initialization of the daemon because * some plugins require the process to keep additional capabilities. * - * @return TRUE if successful, FALSE otherwise + * @return TRUE, if successful */ bool (*drop_capabilities)(daemon_t *this); /** * Initialize the daemon. + * + * @param plugins list of plugins to load + * @return TRUE, if successful */ - bool (*initialize)(daemon_t *this); + bool (*initialize)(daemon_t *this, char *plugins); /** * Starts the daemon, i.e. spawns the threads of the thread pool. |