pass cluster master state to plugin_control functions

This commit is contained in:
bodea 2004-11-18 06:41:03 +00:00
parent 1a0455f453
commit 7cb3cf60e7
5 changed files with 54 additions and 51 deletions

View file

@ -21,7 +21,8 @@ enum
#define PLUGIN_RET_ERROR 0
#define PLUGIN_RET_OK 1
#define PLUGIN_RET_STOP 2
#define PLUGIN_RET_STOP 2
#define PLUGIN_RET_NOTMASTER 3
struct pluginfuncs
{
@ -81,8 +82,10 @@ struct param_timer
struct param_control
{
int iam_master;
int argc;
char **argv;
// output
int response;
char *additional;
};