diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-11-23 04:18:16 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-11-23 04:18:16 +0000 |
commit | caca7a50fdaaf447c7c5b9fd28a26b51f1ca1f2d (patch) | |
tree | a53506326cff2e0a2063f3cf7fc8fde3e3f62565 /plugins/utils.h | |
parent | 1bb5e1e2ff07aaa9dc986807e25cf7243647f72f (diff) | |
download | monitoring-plugins-caca7a50fdaaf447c7c5b9fd28a26b51f1ca1f2d.tar.gz |
Add a max_state_alt function that put UNKNOWN and DEPENDENT ahead of OK.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1829 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index f15a7b16..bb99ee16 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -76,6 +76,7 @@ char *strpcpy (char *, const char *, const char *); | |||
76 | char *strpcat (char *, const char *, const char *); | 76 | char *strpcat (char *, const char *, const char *); |
77 | 77 | ||
78 | int max_state (int a, int b); | 78 | int max_state (int a, int b); |
79 | int max_state_alt (int a, int b); | ||
79 | 80 | ||
80 | void usage (const char *) __attribute__((noreturn)); | 81 | void usage (const char *) __attribute__((noreturn)); |
81 | void usage2(const char *, const char *) __attribute__((noreturn)); | 82 | void usage2(const char *, const char *) __attribute__((noreturn)); |