diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-10-18 12:03:10 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-10-18 12:03:10 +0000 |
commit | c56c42b9c999742ff3cfebf1cadc8c93ad68048c (patch) | |
tree | 78ab319e6f5bf4062af3022c6e1c0da2602a6790 /lib/utils_base.h | |
parent | d00a65f8172ea55b6b4938c65ae0568dbd03b9c0 (diff) | |
download | monitoring-plugins-c56c42b9c999742ff3cfebf1cadc8c93ad68048c.tar.gz |
Cater for different errors when setting thresholds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1496 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r-- | lib/utils_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h index 113e3043..44ed0a37 100644 --- a/lib/utils_base.h +++ b/lib/utils_base.h @@ -38,4 +38,8 @@ char *np_escaped_string (const char *); void die (int, const char *, ...) __attribute__((noreturn,format(printf, 2, 3))); +/* Return codes for _set_thresholds */ +#define NP_RANGE_UNPARSEABLE 1 +#define NP_WARN_WITHIN_CRIT 2 + #endif /* _UTILS_BASE_ */ |