aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-02-09 16:25:02 +0000
committerMartin Willi <martin@strongswan.org>2006-02-09 16:25:02 +0000
commit5b97779f6642aef62daa9185fad9422452d40aa6 (patch)
tree51e4ade06ff2c95c7adf4e171bed466abd2699ce /Source/charon/daemon.h
parentdfa6e086a0e70523e2713df79dd76a4b1efbecac (diff)
downloadstrongswan-5b97779f6642aef62daa9185fad9422452d40aa6.tar.bz2
strongswan-5b97779f6642aef62daa9185fad9422452d40aa6.tar.xz
- some fixes here and there
Diffstat (limited to 'Source/charon/daemon.h')
-rw-r--r--Source/charon/daemon.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/charon/daemon.h b/Source/charon/daemon.h
index 8d466dc76..4522bc347 100644
--- a/Source/charon/daemon.h
+++ b/Source/charon/daemon.h
@@ -26,6 +26,7 @@
#include <threads/sender.h>
#include <threads/receiver.h>
#include <threads/scheduler.h>
+#include <threads/kernel_interface.h>
#include <threads/thread_pool.h>
#include <network/socket.h>
#include <sa/ike_sa_manager.h>
@@ -145,16 +146,21 @@ struct daemon_t {
thread_pool_t *thread_pool;
/**
+ * Kernel Interface to communicate with kernel
+ */
+ kernel_interface_t *kernel_interface;
+
+ /**
* @brief Shut down the daemon.
*
* @param this the daemon to kill
- * @param reason describition why it will be killed
+ * @param reason describtion why it will be killed
*/
void (*kill) (daemon_t *this, char *reason);
};
/**
- * One and only instance of the daemon.
+ * The one and only instance of the daemon.
*/
extern daemon_t *charon;