diff options
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index f939e337..029ae5a6 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)); |
@@ -198,4 +195,8 @@ The Monitoring Plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ | |||
198 | copies of the plugins under the terms of the GNU General Public License.\n\ | 195 | copies of the plugins under the terms of the GNU General Public License.\n\ |
199 | For more information about these matters, see the file named COPYING.\n") | 196 | For more information about these matters, see the file named COPYING.\n") |
200 | 197 | ||
198 | #define UT_OUTPUT_FORMAT _("\ | ||
199 | --output-format=OUTPUT_FORMAT\n\ | ||
200 | Select output format. Valid values: \"multi-line\", \"mp-test-json\"\n") | ||
201 | |||
201 | #endif /* NP_UTILS_H */ | 202 | #endif /* NP_UTILS_H */ |