Move processor_t (thread-pool) to libhydra.
This commit is contained in:
@@ -22,6 +22,12 @@
|
||||
* @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>
|
||||
|
||||
@@ -45,6 +52,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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user