Added plugin_loader method to reload plugin configurations
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user