summaryrefslogtreecommitdiffstats
path: root/lib/utils_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r--lib/utils_base.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h
index 8f2f664..0037b7b 100644
--- a/lib/utils_base.h
+++ b/lib/utils_base.h
@@ -2,6 +2,7 @@
2#define _UTILS_BASE_ 2#define _UTILS_BASE_
3/* Header file for nagios plugins utils_base.c */ 3/* Header file for nagios plugins utils_base.c */
4 4
5#include "sha1.h"
5 6
6/* This file holds header information for thresholds - use this in preference to 7/* This file holds header information for thresholds - use this in preference to
7 individual plugin logic */ 8 individual plugin logic */
@@ -50,7 +51,8 @@ typedef struct state_key_struct {
50typedef struct np_struct { 51typedef struct np_struct {
51 char *plugin_name; 52 char *plugin_name;
52 state_key *state; 53 state_key *state;
53 char **expanded_argv; 54 int argc;
55 char **argv;
54 } nagios_plugin; 56 } nagios_plugin;
55 57
56range *parse_range_string (char *); 58range *parse_range_string (char *);
@@ -97,7 +99,7 @@ void np_enable_state(char *, int);
97state_data *np_state_read(); 99state_data *np_state_read();
98void np_state_write_string(time_t, char *); 100void np_state_write_string(time_t, char *);
99 101
100void np_init(char *); 102void np_init(char *, int argc, char **argv);
101void np_cleanup(); 103void np_cleanup();
102 104
103#endif /* _UTILS_BASE_ */ 105#endif /* _UTILS_BASE_ */