#include "common/cmdparse.h"
#include "common/LogEntry.h"
+#include "common/Mutex.h"
+#include "mon/health_check.h"
#include <vector>
#include <string>
PyThreadState *pMainThreadState;
PyThreadState *pMyThreadState = nullptr;
+ health_check_map_t health_checks;
+
std::vector<ModuleCommand> commands;
int load_commands();
const cmdmap_t &cmdmap,
std::stringstream *ds,
std::stringstream *ss);
+
+ void set_health_checks(health_check_map_t&& c) {
+ health_checks = std::move(c);
+ }
+ void get_health_checks(health_check_map_t *checks);
};
std::string handle_pyerror();