diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-02-11 12:11:04 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-03-09 16:08:52 +0100 |
commit | 1735d80f38d0c5de9c49a2cbf325d5f17376d632 (patch) | |
tree | 7fec6ba8cee0551d462dd9acc975b785e48a0f0b /src/libstrongswan/plugins/files/files_plugin.h | |
parent | 69bb1b8c1885c8d12cd2d8e0ca133bb9a2487ef8 (diff) | |
download | strongswan-1735d80f38d0c5de9c49a2cbf325d5f17376d632.tar.bz2 strongswan-1735d80f38d0c5de9c49a2cbf325d5f17376d632.tar.xz |
files: Add simple plugin to load files from file:// URIs
Diffstat (limited to 'src/libstrongswan/plugins/files/files_plugin.h')
-rw-r--r-- | src/libstrongswan/plugins/files/files_plugin.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/files/files_plugin.h b/src/libstrongswan/plugins/files/files_plugin.h new file mode 100644 index 000000000..c121b9652 --- /dev/null +++ b/src/libstrongswan/plugins/files/files_plugin.h @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2015 Tobias Brunner + * 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 files_p files + * @ingroup plugins + * + * @defgroup files_plugin files_plugin + * @{ @ingroup files_p + */ + +#ifndef FILES_PLUGIN_H_ +#define FILES_PLUGIN_H_ + +#include <plugins/plugin.h> + +typedef struct files_plugin_t files_plugin_t; + +/** + * Plugin implementing fetcher interface loading local files directly. + */ +struct files_plugin_t { + + /** + * implements plugin interface + */ + plugin_t plugin; +}; + +#endif /** FILES_PLUGIN_H_ @}*/ |