Remove MonitorManager calls from Monitor functions
Also adds admin thread checks to MonitorManager functions and combines anonymous namespaces.
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include <maxscale/json_api.hh>
|
||||
|
||||
#include "../internal/monitor.hh"
|
||||
#include "../internal/monitormanager.hh"
|
||||
|
||||
#define TEST(a, b) do {if (!(a)) {printf("%s:%d " b "\n", __FILE__, __LINE__); return 1;}} while (false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user