aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-03-24 17:46:29 +0100
committerTobias Brunner <tobias@strongswan.org>2010-03-24 18:54:26 +0100
commit58f86d0f0fea14383c1836aa37a21edd38ad2e47 (patch)
treeede2acd2e57eee75cab28253f76f670c4abf2ad6 /src/libhydra
parent567d3f14639f769b1b2a6ba4dd327ef0b4960c06 (diff)
downloadstrongswan-58f86d0f0fea14383c1836aa37a21edd38ad2e47.tar.bz2
strongswan-58f86d0f0fea14383c1836aa37a21edd38ad2e47.tar.xz
Changed all usages of lib->attributes to hydra->attributes.
Diffstat (limited to 'src/libhydra')
-rw-r--r--src/libhydra/plugins/attr_sql/Makefile.am2
-rw-r--r--src/libhydra/plugins/attr_sql/attr_sql_plugin.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libhydra/plugins/attr_sql/Makefile.am b/src/libhydra/plugins/attr_sql/Makefile.am
index 9d73f2e9b..dbfedd1cf 100644
--- a/src/libhydra/plugins/attr_sql/Makefile.am
+++ b/src/libhydra/plugins/attr_sql/Makefile.am
@@ -1,5 +1,5 @@
-INCLUDES = -I$(top_srcdir)/src/libstrongswan
+INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libhydra
AM_CFLAGS = \
-rdynamic \
diff --git a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
index 981af986d..632bd35a4 100644
--- a/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
+++ b/src/libhydra/plugins/attr_sql/attr_sql_plugin.c
@@ -13,7 +13,7 @@
* for more details.
*/
-#include <library.h>
+#include <hydra.h>
#include <debug.h>
#include "attr_sql_plugin.h"
@@ -48,7 +48,7 @@ struct private_attr_sql_plugin_t {
*/
static void destroy(private_attr_sql_plugin_t *this)
{
- lib->attributes->remove_provider(lib->attributes, &this->attribute->provider);
+ hydra->attributes->remove_provider(hydra->attributes, &this->attribute->provider);
this->attribute->destroy(this->attribute);
this->db->destroy(this->db);
free(this);
@@ -81,7 +81,7 @@ plugin_t *attr_sql_plugin_create()
return NULL;
}
this->attribute = sql_attribute_create(this->db);
- lib->attributes->add_provider(lib->attributes, &this->attribute->provider);
+ hydra->attributes->add_provider(hydra->attributes, &this->attribute->provider);
return &this->public.plugin;
}