aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/unbound/unbound_plugin.h
diff options
context:
space:
mode:
authorReto Guadagnini <rguadagn@hsr.ch>2012-03-27 09:22:14 +0200
committerTobias Brunner <tobias@strongswan.org>2013-02-19 11:57:21 +0100
commit9f963a7cfcececbbaf5bb211d6dd96620a76ffe2 (patch)
tree4df31869b9853773eb40213b3fd4c109f4f4151f /src/libstrongswan/plugins/unbound/unbound_plugin.h
parentb1505b345bcf7746b24c5446081981ebbb5e9144 (diff)
downloadstrongswan-9f963a7cfcececbbaf5bb211d6dd96620a76ffe2.tar.bz2
strongswan-9f963a7cfcececbbaf5bb211d6dd96620a76ffe2.tar.xz
Added unbound plugin implementing the resolver interface using libunbound
Diffstat (limited to 'src/libstrongswan/plugins/unbound/unbound_plugin.h')
-rw-r--r--src/libstrongswan/plugins/unbound/unbound_plugin.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/unbound/unbound_plugin.h b/src/libstrongswan/plugins/unbound/unbound_plugin.h
new file mode 100644
index 000000000..1f0d36454
--- /dev/null
+++ b/src/libstrongswan/plugins/unbound/unbound_plugin.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2011-2012 Reto Guadagnini
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+/**
+ * @defgroup unbound_p unbound
+ * @ingroup plugins
+ *
+ * @defgroup unbound_plugin unbound_plugin
+ * @{ @ingroup unbound_p
+ */
+
+#ifndef unbound_PLUGIN_H_
+#define unbound_PLUGIN_H_
+
+#include <plugins/plugin.h>
+
+typedef struct unbound_plugin_t unbound_plugin_t;
+
+/**
+ * Plugin implementing the resolver interface using the libunbound DNS library.
+ */
+struct unbound_plugin_t {
+
+ /**
+ * implements plugin interface
+ */
+ plugin_t plugin;
+};
+
+#endif /** unbound_PLUGIN_H_ @}*/