diff options
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r-- | lib/utils_base.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h index f1c99a54..f31299c4 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | #include "./perfdata.h" | 8 | #include "./perfdata.h" |
9 | #include "./thresholds.h" | 9 | #include "./thresholds.h" |
10 | #include "states.h" | ||
10 | 11 | ||
11 | #ifndef USE_OPENSSL | 12 | #ifndef USE_OPENSSL |
12 | # include "sha256.h" | 13 | # include "sha256.h" |
@@ -37,7 +38,7 @@ void set_thresholds(thresholds **, char *, char *); | |||
37 | void print_thresholds(const char *, thresholds *); | 38 | void print_thresholds(const char *, thresholds *); |
38 | bool check_range(double, range *); | 39 | bool check_range(double, range *); |
39 | bool mp_check_range(mp_perfdata_value, mp_range); | 40 | bool mp_check_range(mp_perfdata_value, mp_range); |
40 | int get_status(double, thresholds *); | 41 | mp_state_enum get_status(double, thresholds *); |
41 | 42 | ||
42 | /* Handle timeouts */ | 43 | /* Handle timeouts */ |
43 | extern int timeout_state; | 44 | extern int timeout_state; |
@@ -85,6 +86,6 @@ int mp_translate_state(char *); | |||
85 | void np_init(char *, int argc, char **argv); | 86 | void np_init(char *, int argc, char **argv); |
86 | void np_set_args(int argc, char **argv); | 87 | void np_set_args(int argc, char **argv); |
87 | void np_cleanup(void); | 88 | void np_cleanup(void); |
88 | const char *state_text(int); | 89 | const char *state_text(mp_state_enum); |
89 | 90 | ||
90 | #endif /* _UTILS_BASE_ */ | 91 | #endif /* _UTILS_BASE_ */ |