#pragma once #include "../../config.h" #include "../../lib/thresholds.h" #include "output.h" #include enum { CHECK_SERVICES = 1, CHECK_HOSTS = 2 }; typedef struct { char *data_vals; thresholds *thresholds; int check_type; char *label; mp_output_format output_format; bool output_format_is_set; } check_cluster_config; check_cluster_config check_cluster_config_init() { check_cluster_config tmp = { .data_vals = NULL, .thresholds = NULL, .check_type = CHECK_SERVICES, .label = NULL, .output_format_is_set = false, }; return tmp; }