Added a (not yet implemented) plugin_t method to reload plugin configuration
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
#ifndef PLUGIN_H_
|
||||
#define PLUGIN_H_
|
||||
|
||||
#include <utils.h>
|
||||
|
||||
typedef struct plugin_t plugin_t;
|
||||
|
||||
/**
|
||||
@@ -35,6 +37,13 @@ struct plugin_t {
|
||||
*/
|
||||
char* (*get_name)(plugin_t *this);
|
||||
|
||||
/**
|
||||
* Try to reload plugin configuration.
|
||||
*
|
||||
* @return TRUE if reloaded, FALSE if reloading not supporty by plugin
|
||||
*/
|
||||
bool (*reload)(plugin_t *this);
|
||||
|
||||
/**
|
||||
* Destroy a plugin instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user