aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/plugin_loader.h
Commit message (Collapse)AuthorAgeFilesLines
* plugin-loader: Escape <ns> in comment as Doxygen sees this as XML tagTobias Brunner2014-02-181-2/+2
|
* plugin-loader: Optionally use load option in each plugin section to load pluginsTobias Brunner2014-02-121-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now works because all plugins use the same config namespace. If <ns>.load_modular is true, the list of plugins to load is determined via the value of the <ns>.plugins.<name>.load options. Using includes the following is possible: charon { load_modular = yes plugins { include strongswan.d/charon/*.conf } } charon-cmd { load_modular = yes plugins { include strongswan.d/charon-cmd/*.conf } } Where each .conf file would contain something like: <name> { load = yes <option> = <value> } To increase the priority of individual plugins load = <priority> can be used (the default is 1). For instance, to use openssl instead of the built-in crypto plugins set in strongswan.d/charon/openssl.conf: openssl { load = 10 } If two plugins have the same priority their order in the default plugin list is preserved. Plugins not found in that list are ordered alphabetically before other plugins with the same priority.
* plugin-loader: Convenience function added to add plugin dirs in build treeTobias Brunner2013-11-061-0/+9
|
* plugin-loader: Removed unused path argument of load() methodTobias Brunner2013-06-281-6/+5
| | | | | Multiple additional search paths can be added with the add_path() method.
* plugin-loader: Method added to provide additional search paths for pluginsTobias Brunner2013-06-271-0/+17
|
* plugin-loader: Add method to print loaded plugins on a given log levelTobias Brunner2013-06-211-0/+8
|
* Move test-runners has_feature() function to plugin loaderMartin Willi2013-06-211-0/+8
|
* Refactored plugin-loader with improved dependency resolutionTobias Brunner2013-06-111-4/+4
| | | | | | With the new implementation the plugins don't have to be listed in any special order, dependencies are properly resolved. The order only matters if two plugins provide the same feature.
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Added a method to plugin_loader_t to add 'static' plugin featuresTobias Brunner2012-06-251-0/+24
| | | | | | | | This allows daemons and other components to register plugin features like those provided by plugins (following the same lifecycle). The added features are internally handled like they were added by a plugin.
* Cache list of plugin names to further simplify its usage.Tobias Brunner2012-01-191-1/+3
| | | | Also helpful for ipsec statusall to avoid having to enumerate plugins.
* Function added to plugin_loader to get a list of the names of loaded plugins.Tobias Brunner2012-01-191-0/+8
|
* Doxygen fixupsMartin Willi2011-10-141-1/+1
|
* Fixed comment of create_plugin_enumerator.Tobias Brunner2011-10-141-3/+3
|
* Plugin enumerator enumerates over loaded features, tooMartin Willi2011-10-141-1/+5
|
* Added plugin_loader method to reload plugin configurationsMartin Willi2011-04-151-0/+8
|
* Added a get_name() function to plugin_t, create_plugin_enumerator enumerates ↵Martin Willi2011-04-151-2/+2
| | | | over plugin_t
* use NULL to load plugins from default plugin directoryMartin Willi2009-09-101-1/+1
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-5/+5
|
* plugins marked with a '!' are handled as critical: cancel if loading failsMartin Willi2009-09-011-5/+9
|
* updated DoxyfileMartin Willi2009-03-241-1/+1
| | | | | | properly close all doxygen groups fixed remaining doxygen warnings
* enumerating loaded plugins in "ipsec statusall"Martin Willi2008-06-241-1/+10
|
* plugin load configuration in strongswan.confMartin Willi2008-05-151-3/+8
| | | | | | some components accept a "component.load" option with a space separated list of plugins to load libcharon- plugins are now handled the same way as libstrongswan- plugins
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+53