Cache list of plugin names to further simplify its usage.

Also helpful for ipsec statusall to avoid having to enumerate plugins.
This commit is contained in:
Tobias Brunner
2012-01-19 12:37:42 +01:00
parent fdf1f239ef
commit f1ba06c1c6
8 changed files with 62 additions and 73 deletions
+3 -1
View File
@@ -71,7 +71,9 @@ struct plugin_loader_t {
/**
* Get a simple list the names of all loaded plugins.
*
* @return list of the names of all loaded plugins (allocated)
* The function returns internal data, do not free.
*
* @return list of the names of all loaded plugins
*/
char* (*loaded_plugins)(plugin_loader_t *this);