summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.h
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-15 16:21:31 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-15 16:21:31 (GMT)
commitddbabaa3b659bed9dcf5c5a2bfc430fb816277c7 (patch)
tree0d0980d41f95385cc0137ec86e7a1cea0065e04c /lib/utils_base.h
parent4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2 (diff)
downloadmonitoring-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.h4
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
22typedef struct range_struct { 22typedef 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 *);
61int _set_thresholds(thresholds **, char *, char *); 61int _set_thresholds(thresholds **, char *, char *);
62void set_thresholds(thresholds **, char *, char *); 62void set_thresholds(thresholds **, char *, char *);
63void print_thresholds(const char *, thresholds *); 63void print_thresholds(const char *, thresholds *);
64int check_range(double, range *); 64bool check_range(double, range *);
65int get_status(double, thresholds *); 65int get_status(double, thresholds *);
66 66
67/* Handle timeouts */ 67/* Handle timeouts */