Added a (not yet implemented) plugin_t method to reload plugin configuration

This commit is contained in:
Martin Willi
2011-04-15 10:07:13 +02:00
parent 787b5884aa
commit c55818ebb0
89 changed files with 97 additions and 0 deletions
+9
View File
@@ -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.
*/