From b18a53171537f81e8dc4a094a5368bdd9d3c7e4f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 28 Jun 2013 10:44:15 +0200 Subject: plugin-loader: Removed unused path argument of load() method Multiple additional search paths can be added with the add_path() method. --- src/libstrongswan/plugins/plugin_loader.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/libstrongswan/plugins/plugin_loader.h') 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. -- cgit v1.2.3