aboutsummaryrefslogtreecommitdiff
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-13 12:50:23 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-07-13 12:50:23 +0000
commit548083b2ea865474915fc8a9ddd361e997585a02 (patch)
treef3766c1f5d8f8ea1b2b721a5792e4fb4daf1cf68 /plugins/utils.h
parent6b9cc76d0a27631fbab19a31ab8bd46e143b7580 (diff)
downloadmonitoring-plugins-548083b2ea865474915fc8a9ddd361e997585a02.tar.gz
Move new util_* functions to lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index 4bbe33d0..1f53aadb 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -20,7 +20,6 @@ suite of plugins. */
void support (void);
char *clean_revstring (const char *);
void print_revision (const char *, const char *);
-void die (int, const char *, ...) __attribute__((noreturn,format(printf, 2, 3)));
/* Handle timeouts */
@@ -58,28 +57,6 @@ struct timeval {
};
#endif
-#define OUTSIDE 0
-#define INSIDE 1
-
-typedef struct range_struct {
- double start;
- int start_infinity; /* FALSE (default) or TRUE */
- double end;
- int end_infinity;
- int alert_on; /* OUTSIDE (default) or INSIDE */
- } range;
-
-typedef struct thresholds_struct {
- range *warning;
- range *critical;
- } thresholds;
-
-range *parse_range_string (char *);
-int _set_thresholds(thresholds **, char *, char *);
-void set_thresholds(thresholds **, char *, char *);
-int check_range(double, range *);
-int get_status(double, thresholds *);
-
#ifndef HAVE_GETTIMEOFDAY
int gettimeofday(struct timeval *, struct timezone *);
#endif
@@ -132,8 +109,6 @@ char *fperfdata (const char *,
int,
double);
-char *np_escaped_string (const char *);
-
/* The idea here is that, although not every plugin will use all of these,
most will or should. Therefore, for consistency, these very common
options should have only these meanings throughout the overall suite */