Function added to plugin_loader to get a list of the names of loaded plugins.

This commit is contained in:
Tobias Brunner
2012-01-19 11:51:51 +01:00
parent 498d172c33
commit ad1aaf4be3
2 changed files with 34 additions and 1 deletions
@@ -1,4 +1,5 @@
/*
* Copyright (C) 2012 Tobias Brunner
* Copyright (C) 2007 Martin Willi
* Hochschule fuer Technik Rapperswil
*
@@ -67,6 +68,13 @@ struct plugin_loader_t {
*/
enumerator_t* (*create_plugin_enumerator)(plugin_loader_t *this);
/**
* Get a simple list the names of all loaded plugins.
*
* @return list of the names of all loaded plugins (allocated)
*/
char* (*loaded_plugins)(plugin_loader_t *this);
/**
* Unload loaded plugins, destroy plugin_loader instance.
*/