From 74f0bbfc53cb5fa519e4e27ece53735ab51b397c Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Wed, 29 Oct 2008 20:30:44 +0000 Subject: - New upstream release. --- src/charon/daemon.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/charon/daemon.h') 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 #include #include +#include #ifdef ME #include @@ -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 @@ -302,6 +308,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. * -- cgit v1.2.3