Divide monitor.h to internal and interface headers similar to filter.h

Definitions and function used by core are in
server/core/maxscale/monitor.h
Definitions and function used by plugins are in
include/maxscale/monitor.h
This commit is contained in:
Esa Korhonen
2017-01-18 11:48:12 +02:00
parent 31c8481f6c
commit 7ed7f972b1
8 changed files with 199 additions and 173 deletions

View File

@ -30,7 +30,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <maxscale/monitor.h>
#include <maxscale/spinlock.h>
#include <maxscale/modules.h>
#include <maxscale/log_manager.h>
@ -42,6 +41,7 @@
#include <maxscale/alloc.h>
#include <maxscale/gwdirs.h>
#include "maxscale/monitor.h"
#include "maxscale/config.h"
static MXS_MONITOR *allMonitors = NULL;