aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/library.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-15 14:26:19 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:04:18 +0200
commite18556e9e9e5d870a9846efb1d0a1edd1638fafa (patch)
tree8f0c644e142bbd8b013016049dfb46b50aa4508a /src/libstrongswan/library.h
parent062a6022163f02ab9bea3dfac048bc1247d914f7 (diff)
downloadstrongswan-e18556e9e9e5d870a9846efb1d0a1edd1638fafa.tar.bz2
strongswan-e18556e9e9e5d870a9846efb1d0a1edd1638fafa.tar.xz
Moved scheduler and thread pool to libstrongswan.
Diffstat (limited to 'src/libstrongswan/library.h')
-rw-r--r--src/libstrongswan/library.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libstrongswan/library.h b/src/libstrongswan/library.h
index cd5dfb479..034ff10c5 100644
--- a/src/libstrongswan/library.h
+++ b/src/libstrongswan/library.h
@@ -43,6 +43,12 @@
* @defgroup plugins plugins
* @ingroup libstrongswan
*
+ * @defgroup processing processing
+ * @ingroup libstrongswan
+ *
+ * @defgroup jobs jobs
+ * @ingroup processing
+ *
* @defgroup threading threading
* @ingroup libstrongswan
*
@@ -64,6 +70,8 @@
#include "settings.h"
#include "integrity_checker.h"
#include "plugins/plugin_loader.h"
+#include "processing/processor.h"
+#include "processing/scheduler.h"
#include "crypto/crypto_factory.h"
#include "fetcher/fetcher_manager.h"
#include "database/database_factory.h"
@@ -119,6 +127,16 @@ struct library_t {
plugin_loader_t *plugins;
/**
+ * process jobs using a thread pool
+ */
+ processor_t *processor;
+
+ /**
+ * schedule jobs
+ */
+ scheduler_t *scheduler;
+
+ /**
* various settings loaded from settings file
*/
settings_t *settings;