aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/hydra.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/hydra.h')
-rw-r--r--src/libhydra/hydra.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libhydra/hydra.h b/src/libhydra/hydra.h
index acbaa01cc..2d8ef9cc1 100644
--- a/src/libhydra/hydra.h
+++ b/src/libhydra/hydra.h
@@ -16,6 +16,9 @@
/**
* @defgroup libhydra libhydra
*
+ * @defgroup attributes attributes
+ * @ingroup libhydra
+ *
* @defgroup hplugins plugins
* @ingroup libhydra
*
@@ -26,9 +29,29 @@
#ifndef HYDRA_H_
#define HYDRA_H_
+typedef struct hydra_t hydra_t;
+
+#include <attributes/attribute_manager.h>
+
#include <library.h>
/**
+ * IKE Daemon support object.
+ */
+struct hydra_t {
+ /**
+ * manager for payload attributes
+ */
+ attribute_manager_t *attributes;
+};
+
+/**
+ * The single instance of hydra_t. Set between calls to libhydra_init() and
+ * libhydra_deinit() calls.
+ */
+extern hydra_t *hydra;
+
+/**
* Initialize libhydra.
* @return FALSE if integrity check failed
*/