Use module-style parameters with monitors
The common monitor parameters are now stored as module-style parameters. This makes the error reporting as well as the type checks for the parameters consistent with parameters declared by the modules.
This commit is contained in:
@ -47,7 +47,7 @@ typedef enum
|
||||
MONITOR_CONNECT_ATTEMPTS = 3
|
||||
} monitor_timeouts_t;
|
||||
|
||||
MXS_MONITOR *monitor_create(const char *, const char *);
|
||||
MXS_MONITOR *monitor_create(const char *, const char *, MXS_CONFIG_PARAMETER* params);
|
||||
void monitor_destroy(MXS_MONITOR *);
|
||||
|
||||
void monitor_start(MXS_MONITOR *, const MXS_CONFIG_PARAMETER*);
|
||||
|
||||
Reference in New Issue
Block a user