summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-11-23 04:18:16 +0000
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2007-11-23 04:18:16 +0000
commitcaca7a50fdaaf447c7c5b9fd28a26b51f1ca1f2d (patch)
treea53506326cff2e0a2063f3cf7fc8fde3e3f62565 /plugins/utils.h
parent1bb5e1e2ff07aaa9dc986807e25cf7243647f72f (diff)
downloadmonitoring-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.h1
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 *);
76char *strpcat (char *, const char *, const char *); 76char *strpcat (char *, const char *, const char *);
77 77
78int max_state (int a, int b); 78int max_state (int a, int b);
79int max_state_alt (int a, int b);
79 80
80void usage (const char *) __attribute__((noreturn)); 81void usage (const char *) __attribute__((noreturn));
81void usage2(const char *, const char *) __attribute__((noreturn)); 82void usage2(const char *, const char *) __attribute__((noreturn));