aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/winhttp/winhttp_plugin.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-06-04 16:35:02 +0200
committerMartin Willi <martin@revosec.ch>2014-06-04 16:35:33 +0200
commitc81a03e3004be0deb35ead60c33d037ace574655 (patch)
tree88d8e8b50e86a3fdcc85a6b3fcad400b7ed072bd /src/libstrongswan/plugins/winhttp/winhttp_plugin.h
parentd2859f52516b228c27bdba2ea924c6ca74de5ffb (diff)
parentc572401b3474cc003bcbc202921e97f7f67adaeb (diff)
downloadstrongswan-c81a03e3004be0deb35ead60c33d037ace574655.tar.bz2
strongswan-c81a03e3004be0deb35ead60c33d037ace574655.tar.xz
Merge branch 'win-fetcher'
Implements a HTTP/HTTPS fetcher for the Windows platform using the native WinHTTP API.
Diffstat (limited to 'src/libstrongswan/plugins/winhttp/winhttp_plugin.h')
-rw-r--r--src/libstrongswan/plugins/winhttp/winhttp_plugin.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/winhttp/winhttp_plugin.h b/src/libstrongswan/plugins/winhttp/winhttp_plugin.h
new file mode 100644
index 000000000..30cd0518a
--- /dev/null
+++ b/src/libstrongswan/plugins/winhttp/winhttp_plugin.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2014 Martin Willi
+ * Copyright (C) 2014 revosec AG
+ *
+ * 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 winhttp_p winhttp
+ * @ingroup plugins
+ *
+ * @defgroup winhttp_plugin winhttp_plugin
+ * @{ @ingroup winhttp_p
+ */
+
+#ifndef WINHTTP_PLUGIN_H_
+#define WINHTTP_PLUGIN_H_
+
+#include <plugins/plugin.h>
+
+typedef struct winhttp_plugin_t winhttp_plugin_t;
+
+/**
+ * Plugin implementing fetcher interface using Microsofts WinHTTP.
+ */
+struct winhttp_plugin_t {
+
+ /**
+ * Implements plugin interface.
+ */
+ plugin_t plugin;
+};
+
+#endif /** WINHTTP_PLUGIN_H_ @}*/