diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-08 15:46:33 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-06-11 11:18:19 +0200 |
commit | 49d7a98f471a449e45b77f2af3f7889c348781a0 (patch) | |
tree | 3a6bfe71c28d30440f99d8750ad4dbccf7054219 /src/libstrongswan/plugins/plugin_loader.h | |
parent | facc7815004db80cb8fb386f100ab6076f24fda0 (diff) | |
download | strongswan-49d7a98f471a449e45b77f2af3f7889c348781a0.tar.bz2 strongswan-49d7a98f471a449e45b77f2af3f7889c348781a0.tar.xz |
Refactored plugin-loader with improved dependency resolution
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.
Diffstat (limited to 'src/libstrongswan/plugins/plugin_loader.h')
-rw-r--r-- | src/libstrongswan/plugins/plugin_loader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.h b/src/libstrongswan/plugins/plugin_loader.h index 6a8f8f6a1..857bb2d9d 100644 --- a/src/libstrongswan/plugins/plugin_loader.h +++ b/src/libstrongswan/plugins/plugin_loader.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Tobias Brunner + * Copyright (C) 2012-2013 Tobias Brunner * Copyright (C) 2007 Martin Willi * Hochschule fuer Technik Rapperswil * @@ -84,9 +84,9 @@ struct plugin_loader_t { /** * Create an enumerator over all loaded plugins. * - * In addition to the plugin, the enumerator returns a list of pointers to - * plugin features currently loaded (if the argument is not NULL). - * This list is to be read only. + * In addition to the plugin, the enumerator optionally provides a list of + * pointers to plugin features currently loaded. + * This list has to be destroyed. * * @return enumerator over plugin_t*, linked_list_t* */ |