moved attribute_manager to libstrongswan
This commit is contained in:
@@ -41,7 +41,7 @@ struct private_attr_plugin_t {
|
||||
*/
|
||||
static void destroy(private_attr_plugin_t *this)
|
||||
{
|
||||
charon->attributes->remove_provider(charon->attributes, &this->provider->provider);
|
||||
lib->attributes->remove_provider(lib->attributes, &this->provider->provider);
|
||||
this->provider->destroy(this->provider);
|
||||
free(this);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ plugin_t *plugin_create()
|
||||
this->public.plugin.destroy = (void(*)(plugin_t*))destroy;
|
||||
|
||||
this->provider = attr_provider_create();
|
||||
charon->attributes->add_provider(charon->attributes, &this->provider->provider);
|
||||
lib->attributes->add_provider(lib->attributes, &this->provider->provider);
|
||||
|
||||
return &this->public.plugin;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#ifndef ATTR_PROVIDER_H_
|
||||
#define ATTR_PROVIDER_H_
|
||||
|
||||
#include <config/attributes/attribute_provider.h>
|
||||
#include <attributes/attribute_provider.h>
|
||||
|
||||
typedef struct attr_provider_t attr_provider_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user