From ceebd58040b1688749d58dd76963af639cf8c803 Mon Sep 17 00:00:00 2001 From: "M. Sean Finney" Date: Mon, 24 Oct 2005 11:10:29 +0000 Subject: 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 --- plugins/utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/utils.h') diff --git a/plugins/utils.h b/plugins/utils.h index bdf1ee1f..ffdb5457 100644 --- a/plugins/utils.h +++ b/plugins/utils.h @@ -1,3 +1,5 @@ +#ifndef NP_UTILS_H +#define NP_UTILS_H /* Header file for nagios plugins utils.c */ /* This file should be included in all plugins */ @@ -77,6 +79,7 @@ void usage (const char *) __attribute__((noreturn)); void usage2(const char *, const char *) __attribute__((noreturn)); void usage3(const char *, int) __attribute__((noreturn)); void usage4(const char *); +void usage_va(const char *fmt, ...); const char *state_text (int); @@ -169,3 +172,5 @@ send email to nagiosplug-devel@lists.sourceforge.net\n" The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ copies of the plugins under the terms of the GNU General Public License.\n\ For more information about these matters, see the file named COPYING.\n" + +#endif /* NP_UTILS_H */ -- cgit v1.2.3-74-g34f1