diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-18 21:58:34 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-18 21:58:34 +0100 |
commit | 0645c9fc2c7f801ba3c7d68a17c137a63ada299f (patch) | |
tree | ce222906f546f03301defba9ce81ba57591a8eb3 /plugins/utils.h | |
parent | 39680498ee0987a5e0eb203a2c0539aa1fa94d39 (diff) | |
download | monitoring-plugins-0645c9fc2c7f801ba3c7d68a17c137a63ada299f.tar.gz |
Implement new output functionality
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index f939e337..c7073990 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -13,11 +13,11 @@ in order to resist overflow attacks. In addition, a few functions are | |||
13 | provided to standardize version and error reporting across the entire | 13 | provided to standardize version and error reporting across the entire |
14 | suite of plugins. */ | 14 | suite of plugins. */ |
15 | 15 | ||
16 | /* now some functions etc are being defined in ../lib/utils_base.c */ | 16 | #include "../config.h" |
17 | #include "utils_base.h" | ||
18 | |||
19 | #include <stdbool.h> | 17 | #include <stdbool.h> |
20 | 18 | #include <stdint.h> | |
19 | #include <stdio.h> | ||
20 | #include <time.h> | ||
21 | 21 | ||
22 | #ifdef NP_EXTRA_OPTS | 22 | #ifdef NP_EXTRA_OPTS |
23 | /* Include extra-opts functions if compiled in */ | 23 | /* Include extra-opts functions if compiled in */ |
@@ -78,9 +78,6 @@ char *strpcat (char *, const char *, const char *); | |||
78 | int xvasprintf (char **strp, const char *fmt, va_list ap); | 78 | int xvasprintf (char **strp, const char *fmt, va_list ap); |
79 | int xasprintf (char **strp, const char *fmt, ...); | 79 | int xasprintf (char **strp, const char *fmt, ...); |
80 | 80 | ||
81 | int max_state (int a, int b); | ||
82 | int max_state_alt (int a, int b); | ||
83 | |||
84 | void usage (const char *) __attribute__((noreturn)); | 81 | void usage (const char *) __attribute__((noreturn)); |
85 | void usage2(const char *, const char *) __attribute__((noreturn)); | 82 | void usage2(const char *, const char *) __attribute__((noreturn)); |
86 | void usage3(const char *, int) __attribute__((noreturn)); | 83 | void usage3(const char *, int) __attribute__((noreturn)); |