diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-24 11:10:29 (GMT) |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-24 11:10:29 (GMT) |
commit | ceebd58040b1688749d58dd76963af639cf8c803 (patch) | |
tree | 972deca448413addc597ce7ba3a1a4edefa8c5a5 /plugins/utils.h | |
parent | 19100c883d72e6ebfd3f15b3171ade2a78345c73 (diff) | |
download | monitoring-plugins-ceebd58040b1688749d58dd76963af639cf8c803.tar.gz |
initial merging of ae's np_runcmd code into selected plugins.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1260 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index bdf1ee1..ffdb545 100644 --- a/plugins/utils.h +++ b/plugins/utils.h | |||
@@ -1,3 +1,5 @@ | |||
1 | #ifndef NP_UTILS_H | ||
2 | #define NP_UTILS_H | ||
1 | /* Header file for nagios plugins utils.c */ | 3 | /* Header file for nagios plugins utils.c */ |
2 | 4 | ||
3 | /* This file should be included in all plugins */ | 5 | /* This file should be included in all plugins */ |
@@ -77,6 +79,7 @@ void usage (const char *) __attribute__((noreturn)); | |||
77 | void usage2(const char *, const char *) __attribute__((noreturn)); | 79 | void usage2(const char *, const char *) __attribute__((noreturn)); |
78 | void usage3(const char *, int) __attribute__((noreturn)); | 80 | void usage3(const char *, int) __attribute__((noreturn)); |
79 | void usage4(const char *); | 81 | void usage4(const char *); |
82 | void usage_va(const char *fmt, ...); | ||
80 | 83 | ||
81 | const char *state_text (int); | 84 | const char *state_text (int); |
82 | 85 | ||
@@ -169,3 +172,5 @@ send email to nagiosplug-devel@lists.sourceforge.net\n" | |||
169 | The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ | 172 | The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ |
170 | copies of the plugins under the terms of the GNU General Public License.\n\ | 173 | copies of the plugins under the terms of the GNU General Public License.\n\ |
171 | For more information about these matters, see the file named COPYING.\n" | 174 | For more information about these matters, see the file named COPYING.\n" |
175 | |||
176 | #endif /* NP_UTILS_H */ | ||