Imported Upstream version 1.4.16+git20130911
This commit is contained in:
parent
96678a79c9
commit
ea90af2ba1
20 changed files with 379 additions and 383 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "common.h"
|
||||
#include <stdarg.h>
|
||||
#include "utils_base.h"
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
@ -34,6 +35,8 @@
|
|||
|
||||
nagios_plugin *this_nagios_plugin=NULL;
|
||||
|
||||
int _np_state_read_file(FILE *);
|
||||
|
||||
void np_init( char *plugin_name, int argc, char **argv ) {
|
||||
if (this_nagios_plugin==NULL) {
|
||||
this_nagios_plugin = calloc(1, sizeof(nagios_plugin));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue