diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-28 10:44:15 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-06-28 10:44:15 +0200 |
commit | b18a53171537f81e8dc4a094a5368bdd9d3c7e4f (patch) | |
tree | 27086abd13eb58d70a192321904d114957e0c56a /src/libstrongswan/plugins/plugin_loader.h | |
parent | 9da142b4dc151d4d9c1db2fb55b3a5203c1f1c8c (diff) | |
download | strongswan-b18a53171537f81e8dc4a094a5368bdd9d3c7e4f.tar.bz2 strongswan-b18a53171537f81e8dc4a094a5368bdd9d3c7e4f.tar.xz |
plugin-loader: Removed unused path argument of load() method
Multiple additional search paths can be added with the add_path()
method.
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.h')
-rw-r--r-- | src/libstrongswan/plugins/plugin_loader.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.h b/src/libstrongswan/plugins/plugin_loader.h index 15496f4c7..285b33910 100644 --- a/src/libstrongswan/plugins/plugin_loader.h +++ b/src/libstrongswan/plugins/plugin_loader.h @@ -57,25 +57,24 @@ struct plugin_loader_t { bool critical); /** - * Load a list of plugins from a directory. + * Load a list of plugins. * - * Each plugin in list may have a ending exclamation mark (!) to mark it + * Each plugin in list may have an ending exclamation mark (!) to mark it * as a critical plugin. If loading a critical plugin fails, plugin loading * is aborted and FALSE is returned. * * Additional paths can be added with add_path(), these will be searched - * for the plugins first, in the order they were added, then the given path - * or the default follow. + * for the plugins first, in the order they were added, then the default + * path follows. * * @note Even though this method could be called multiple times this is * currently not really supported in regards to plugin features and their * dependencies (in particular soft dependencies). * - * @param path path containing loadable plugins, NULL for default * @param list space separated list of plugins to load * @return TRUE if all critical plugins loaded successfully */ - bool (*load)(plugin_loader_t *this, char *path, char *list); + bool (*load)(plugin_loader_t *this, char *list); /** * Add an additional search path for plugins. |