summaryrefslogtreecommitdiff
path: root/src/charon/daemon.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-10-29 11:11:01 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-10-29 11:11:01 +0000
commit8b80ab5a6950ce6515f477624794defd7531642a (patch)
treeaa8303f3806c5615fbeafc4dc82febe3cd7c24dc /src/charon/daemon.h
parentdb67c87db3c9089ea8d2e14f617bf3d9e2af261f (diff)
downloadvyos-strongswan-8b80ab5a6950ce6515f477624794defd7531642a.tar.gz
vyos-strongswan-8b80ab5a6950ce6515f477624794defd7531642a.zip
[svn-upgrade] Integrating new upstream version, strongswan (4.2.8)
Diffstat (limited to 'src/charon/daemon.h')
-rw-r--r--src/charon/daemon.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/charon/daemon.h b/src/charon/daemon.h
index 5893e7332..62a286f04 100644
--- a/src/charon/daemon.h
+++ b/src/charon/daemon.h
@@ -15,7 +15,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * $Id: daemon.h 3964 2008-05-15 14:01:26Z martin $
+ * $Id: daemon.h 4406 2008-10-10 08:36:01Z martin $
*/
/**
@@ -163,6 +163,7 @@ typedef struct daemon_t daemon_t;
#include <config/attributes/attribute_manager.h>
#include <credentials/credential_manager.h>
#include <sa/authenticators/eap/eap_manager.h>
+#include <sa/authenticators/eap/sim_manager.h>
#ifdef ME
#include <sa/connect_manager.h>
@@ -280,6 +281,11 @@ struct daemon_t {
*/
eap_manager_t *eap;
+ /**
+ * SIM manager to maintain SIM cards/providers
+ */
+ sim_manager_t *sim;
+
#ifdef ME
/**
* Connect manager
@@ -303,6 +309,15 @@ struct daemon_t {
gid_t gid;
/**
+ * Do not drop a given capability after initialization.
+ *
+ * Some plugins might need additional capabilites. They tell the daemon
+ * during plugin initialization which one they need, the daemon won't
+ * drop these.
+ */
+ void (*keep_cap)(daemon_t *this, u_int cap);
+
+ /**
* Shut down the daemon.
*
* @param reason describtion why it will be killed