Remove MonitorManager calls from Monitor functions

Also adds admin thread checks to MonitorManager functions and combines
anonymous namespaces.
This commit is contained in:
Esa Korhonen
2019-04-26 12:18:26 +03:00
parent c4b27cdefc
commit 82b4338eca
15 changed files with 138 additions and 107 deletions

View File

@ -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)