summaryrefslogtreecommitdiff
path: root/src/libhydra/plugins/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/plugins/resolve')
-rw-r--r--src/libhydra/plugins/resolve/Makefile.in9
-rw-r--r--src/libhydra/plugins/resolve/resolve_plugin.c14
2 files changed, 23 insertions, 0 deletions
diff --git a/src/libhydra/plugins/resolve/Makefile.in b/src/libhydra/plugins/resolve/Makefile.in
index e6c5fb712..646d1dba9 100644
--- a/src/libhydra/plugins/resolve/Makefile.in
+++ b/src/libhydra/plugins/resolve/Makefile.in
@@ -222,7 +222,13 @@ includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
ipsecdir = @ipsecdir@
+<<<<<<< HEAD
+ipsecgid = @ipsecgid@
ipsecgroup = @ipsecgroup@
+ipsecuid = @ipsecuid@
+=======
+ipsecgroup = @ipsecgroup@
+>>>>>>> upstream/4.5.1
ipsecuser = @ipsecuser@
libcharon_plugins = @libcharon_plugins@
libdir = @libdir@
@@ -261,8 +267,11 @@ sbindir = @sbindir@
scepclient_plugins = @scepclient_plugins@
scripts_plugins = @scripts_plugins@
sharedstatedir = @sharedstatedir@
+<<<<<<< HEAD
+=======
soup_CFLAGS = @soup_CFLAGS@
soup_LIBS = @soup_LIBS@
+>>>>>>> upstream/4.5.1
srcdir = @srcdir@
strongswan_conf = @strongswan_conf@
sysconfdir = @sysconfdir@
diff --git a/src/libhydra/plugins/resolve/resolve_plugin.c b/src/libhydra/plugins/resolve/resolve_plugin.c
index ad18c7060..c60521cd1 100644
--- a/src/libhydra/plugins/resolve/resolve_plugin.c
+++ b/src/libhydra/plugins/resolve/resolve_plugin.c
@@ -36,8 +36,15 @@ struct private_resolve_plugin_t {
resolve_handler_t *handler;
};
+<<<<<<< HEAD
+/**
+ * Implementation of plugin_t.destroy
+ */
+static void destroy(private_resolve_plugin_t *this)
+=======
METHOD(plugin_t, destroy, void,
private_resolve_plugin_t *this)
+>>>>>>> upstream/4.5.1
{
hydra->attributes->remove_handler(hydra->attributes, &this->handler->handler);
this->handler->destroy(this->handler);
@@ -49,6 +56,12 @@ METHOD(plugin_t, destroy, void,
*/
plugin_t *resolve_plugin_create()
{
+<<<<<<< HEAD
+ private_resolve_plugin_t *this = malloc_thing(private_resolve_plugin_t);
+
+ this->public.plugin.destroy = (void(*)(plugin_t*))destroy;
+ this->handler = resolve_handler_create();
+=======
private_resolve_plugin_t *this;
INIT(this,
@@ -59,6 +72,7 @@ plugin_t *resolve_plugin_create()
},
.handler = resolve_handler_create(),
);
+>>>>>>> upstream/4.5.1
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
return &this->public.plugin;