Move processor_t (thread-pool) to libhydra.
[strongswan.git] / src / libhydra / hydra.h
index 8670f39..da515b1 100644 (file)
  * @defgroup hplugins plugins
  * @ingroup libhydra
  *
+ * @defgroup processing processing
+ * @ingroup libhydra
+ *
+ * @defgroup jobs jobs
+ * @ingroup processing
+ *
  * @addtogroup libhydra
  * @{
  */
@@ -32,6 +38,7 @@
 typedef struct hydra_t hydra_t;
 
 #include <attributes/attribute_manager.h>
+#include <processing/processor.h>
 
 #include <library.h>
 
@@ -46,6 +53,11 @@ struct hydra_t {
        attribute_manager_t *attributes;
 
        /**
+        * process jobs using a thread pool
+        */
+       processor_t *processor;
+
+       /**
         * name of the daemon that initialized the library
         */
        const char *daemon;