aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-04-19 13:32:51 +0200
committerTobias Brunner <tobias@strongswan.org>2012-05-03 13:14:07 +0200
commit94b48e071a6014390fd554f186ce2a2a1bb2464a (patch)
treeda9ba3cea1e834187e3f640f0e3583b378d92b39 /src/libcharon/daemon.h
parent2ee11fd42d78f05140404864f3ce25b2608d2102 (diff)
downloadstrongswan-94b48e071a6014390fd554f186ce2a2a1bb2464a.tar.bz2
strongswan-94b48e071a6014390fd554f186ce2a2a1bb2464a.tar.xz
Provide plugin list from charon, not internally in libcharon.
Diffstat (limited to 'src/libcharon/daemon.h')
-rw-r--r--src/libcharon/daemon.h9
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.