blob: fc3864154d563a0fcdcd4344446ccdc0b214c71f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include "../../config.h"
#include "../../lib/thresholds.h"
#include <stddef.h>
enum {
CHECK_SERVICES = 1,
CHECK_HOSTS = 2
};
typedef struct {
char *data_vals;
thresholds *thresholds;
int check_type;
char *label;
} 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,
};
return tmp;
}
|