MXS-1848 Add initMonitor() and finishMonitor() functions.
Not called and implementations are dummies.
This commit is contained in:
@ -30,6 +30,9 @@ static void monitorMain(void *);
|
||||
|
||||
/*lint +e14 */
|
||||
|
||||
static MXS_SPECIFIC_MONITOR *initMonitor(MXS_MONITOR *,
|
||||
const MXS_CONFIG_PARAMETER *params);
|
||||
static void finishMonitor(MXS_SPECIFIC_MONITOR*);
|
||||
static MXS_SPECIFIC_MONITOR *startMonitor(MXS_MONITOR *,
|
||||
const MXS_CONFIG_PARAMETER *params);
|
||||
static void stopMonitor(MXS_SPECIFIC_MONITOR *);
|
||||
@ -56,6 +59,8 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
|
||||
static MXS_MONITOR_OBJECT MyObject =
|
||||
{
|
||||
initMonitor,
|
||||
finishMonitor,
|
||||
startMonitor,
|
||||
stopMonitor,
|
||||
diagnostics,
|
||||
@ -99,6 +104,18 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
}
|
||||
/*lint +e14 */
|
||||
|
||||
static MXS_SPECIFIC_MONITOR* initMonitor(MXS_MONITOR *mon,
|
||||
const MXS_CONFIG_PARAMETER *params)
|
||||
{
|
||||
ss_dassert(!true);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void finishMonitor(MXS_SPECIFIC_MONITOR* mon)
|
||||
{
|
||||
ss_dassert(!true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Start the instance of the monitor, returning a handle on the monitor.
|
||||
*
|
||||
|
Reference in New Issue
Block a user