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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user