Attributes moved from libstrongswan to libhydra.

The attribute_manager_t instance is now located on the new hydra object
instead of the lib object.
This commit is contained in:
Tobias Brunner
2010-03-24 18:53:10 +01:00
parent 83218f0d65
commit 567d3f1463
13 changed files with 57 additions and 15 deletions
+23
View File
@@ -16,6 +16,9 @@
/**
* @defgroup libhydra libhydra
*
* @defgroup attributes attributes
* @ingroup libhydra
*
* @defgroup hplugins plugins
* @ingroup libhydra
*
@@ -26,8 +29,28 @@
#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