plugin-loader: Convenience function added to add plugin dirs in build tree

This commit is contained in:
Tobias Brunner
2013-11-06 10:31:07 +01:00
committed by Martin Willi
parent 09d0c9030a
commit 8d2450d8b8
2 changed files with 28 additions and 0 deletions
@@ -146,4 +146,13 @@ struct plugin_loader_t {
*/
plugin_loader_t *plugin_loader_create();
/**
* Convenience function to add plugin directories for the given plugins within
* the given base directory according to the conventions in the src/build tree.
*
* @param basedir base directory
* @param plugins space separated list of plugins
*/
void plugin_loader_add_plugindirs(char *basedir, char *plugins);
#endif /** PLUGIN_LOADER_H_ @}*/