Added plugin_loader method to reload plugin configurations

This commit is contained in:
Martin Willi
2011-04-15 10:07:13 +02:00
parent c55818ebb0
commit ed49e9a303
2 changed files with 55 additions and 0 deletions
@@ -43,6 +43,14 @@ struct plugin_loader_t {
*/
bool (*load)(plugin_loader_t *this, char *path, char *list);
/**
* Reload the configuration of one or multiple plugins.
*
* @param space separated plugin names to reload, NULL for all
* @return number of plugins that did support reloading
*/
u_int (*reload)(plugin_loader_t *this, char *list);
/**
* Unload all loaded plugins.
*/