diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 16:21:31 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-15 16:21:31 (GMT) |
commit | ddbabaa3b659bed9dcf5c5a2bfc430fb816277c7 (patch) | |
tree | 0d0980d41f95385cc0137ec86e7a1cea0065e04c /lib/utils_base.h | |
parent | 4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2 (diff) | |
download | monitoring-plugins-ddbabaa3b659bed9dcf5c5a2bfc430fb816277c7.tar.gz |
Replace all old school booleans in lib witch C99 onesrefs/pull/1937/head
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r-- | lib/utils_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h index 9abf595..80b8743 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | typedef struct range_struct { | 22 | typedef struct range_struct { |
23 | double start; | 23 | double start; |
24 | int start_infinity; /* FALSE (default) or TRUE */ | 24 | bool start_infinity; |
25 | double end; | 25 | double end; |
26 | int end_infinity; | 26 | int end_infinity; |
27 | int alert_on; /* OUTSIDE (default) or INSIDE */ | 27 | int alert_on; /* OUTSIDE (default) or INSIDE */ |
@@ -61,7 +61,7 @@ range *parse_range_string (char *); | |||
61 | int _set_thresholds(thresholds **, char *, char *); | 61 | int _set_thresholds(thresholds **, char *, char *); |
62 | void set_thresholds(thresholds **, char *, char *); | 62 | void set_thresholds(thresholds **, char *, char *); |
63 | void print_thresholds(const char *, thresholds *); | 63 | void print_thresholds(const char *, thresholds *); |
64 | int check_range(double, range *); | 64 | bool check_range(double, range *); |
65 | int get_status(double, thresholds *); | 65 | int get_status(double, thresholds *); |
66 | 66 | ||
67 | /* Handle timeouts */ | 67 | /* Handle timeouts */ |