diff options
Diffstat (limited to 'lib/utils_base.h')
-rw-r--r-- | lib/utils_base.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/utils_base.h b/lib/utils_base.h index 8f2f6649..0037b7b5 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 { | |||
50 | typedef struct np_struct { | 51 | typedef 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 | ||
56 | range *parse_range_string (char *); | 58 | range *parse_range_string (char *); |
@@ -97,7 +99,7 @@ void np_enable_state(char *, int); | |||
97 | state_data *np_state_read(); | 99 | state_data *np_state_read(); |
98 | void np_state_write_string(time_t, char *); | 100 | void np_state_write_string(time_t, char *); |
99 | 101 | ||
100 | void np_init(char *); | 102 | void np_init(char *, int argc, char **argv); |
101 | void np_cleanup(); | 103 | void np_cleanup(); |
102 | 104 | ||
103 | #endif /* _UTILS_BASE_ */ | 105 | #endif /* _UTILS_BASE_ */ |