diff options
| author | Martin Willi <martin@revosec.ch> | 2014-11-04 14:45:34 +0100 |
|---|---|---|
| committer | Martin Willi <martin@revosec.ch> | 2015-02-20 13:34:55 +0100 |
| commit | 751363275f893f9d212c6bcce3cb984334830cb1 (patch) | |
| tree | 386c7898cba34d448ce2f3bdc33f8c300e3e6631 /src/libcharon/plugins/attr_sql | |
| parent | 1f29cd2c5db06c32e79c3105e85899398f8d17f5 (diff) | |
| download | strongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.bz2 strongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.xz | |
attributes: Move the configuration attributes framework to libcharon
Diffstat (limited to 'src/libcharon/plugins/attr_sql')
| -rw-r--r-- | src/libcharon/plugins/attr_sql/attr_sql_plugin.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcharon/plugins/attr_sql/attr_sql_plugin.c b/src/libcharon/plugins/attr_sql/attr_sql_plugin.c index dde90051a..247cc11c3 100644 --- a/src/libcharon/plugins/attr_sql/attr_sql_plugin.c +++ b/src/libcharon/plugins/attr_sql/attr_sql_plugin.c @@ -14,7 +14,7 @@ * for more details. */ -#include <hydra.h> +#include <daemon.h> #include <utils/debug.h> #include <plugins/plugin_feature.h> @@ -75,13 +75,13 @@ static bool open_database(private_attr_sql_plugin_t *this, return FALSE; } this->attribute = sql_attribute_create(this->db); - hydra->attributes->add_provider(hydra->attributes, - &this->attribute->provider); + charon->attributes->add_provider(charon->attributes, + &this->attribute->provider); } else { - hydra->attributes->remove_provider(hydra->attributes, - &this->attribute->provider); + charon->attributes->remove_provider(charon->attributes, + &this->attribute->provider); this->attribute->destroy(this->attribute); this->db->destroy(this->db); } |
