More cleanup of monitor.h
Move some more functions into core header + miscellaneous cleanup
This commit is contained in:
@ -51,6 +51,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <telnetd.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/service.h>
|
||||
#include <maxscale/router.h>
|
||||
@ -65,9 +68,7 @@
|
||||
#include <maxscale/poll.h>
|
||||
#include <maxscale/users.h>
|
||||
#include <maxscale/config.h>
|
||||
#include <telnetd.h>
|
||||
#include <maxscale/adminusers.h>
|
||||
#include <maxscale/monitor.h>
|
||||
#include <debugcli.h>
|
||||
#include <maxscale/housekeeper.h>
|
||||
#include <maxscale/listmanager.h>
|
||||
@ -75,7 +76,8 @@
|
||||
#include <maxscale/config_runtime.h>
|
||||
#include <maxscale/version.h>
|
||||
#include <maxscale/log_manager.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
#include "../../../core/maxscale/monitor.h"
|
||||
|
||||
#include "../../../core/maxscale/session.h"
|
||||
|
||||
|
||||
@ -53,6 +53,7 @@
|
||||
#include <maxscale/users.h>
|
||||
|
||||
#include "../../../core/maxscale/session.h"
|
||||
#include "../../../core/maxscale/monitor.h"
|
||||
|
||||
extern char *create_hex_sha1_sha1_passwd(char *passwd);
|
||||
|
||||
|
||||
@ -33,7 +33,6 @@
|
||||
#include <maxscale/service.h>
|
||||
#include <maxscale/router.h>
|
||||
#include <maxscale/modules.h>
|
||||
#include <maxscale/monitor.h>
|
||||
#include <maxscale/version.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modutil.h>
|
||||
@ -47,6 +46,7 @@
|
||||
#include <maxscale/config.h>
|
||||
|
||||
#include "../../../core/maxscale/session.h"
|
||||
#include "../../../core/maxscale/monitor.h"
|
||||
|
||||
static void exec_show(DCB *dcb, MAXINFO_TREE *tree);
|
||||
static void exec_select(DCB *dcb, MAXINFO_TREE *tree);
|
||||
|
||||
Reference in New Issue
Block a user