The Assimilation Project  based on Assimilation version 1.1.7.1474836767
resourcenagios.h
Go to the documentation of this file.
1 
24 #ifndef _RESOURCENAGIOS_H
25 #define _RESOURCENAGIOS_H
26 #include <projectcommon.h>
27 #include <assimobj.h>
28 #include <configcontext.h>
29 #include <resourcecmd.h>
30 #include <childprocess.h>
43 #define REQNAGIOSPATH "nagiospath"
44 
46 
49  char * nagioscmd;
52  char** argv;
53 };
54 
55 
56 // This 'constructor' creates a subclass object, but returns a superclass object type.
57 WINEXPORT ResourceCmd* resourcenagios_new(guint structsize, ConfigContext* request
58 , gpointer user_data, ResourceCmdCallback callback);
60 #endif/*_RESOURCENAGIOS_H*/
char ** argv
malloced
void(* ResourceCmdCallback)(ConfigContext *request, gpointer user_data, enum HowDied reason, int rc, int signal, gboolean core_dumped, const char *stringresult)
Definition: resourcecmd.h:44
ChildProcess * child
Child process currently running - or NULL.
WINEXPORT ResourceCmd * resourcenagios_new(guint structsize, ConfigContext *request, gpointer user_data, ResourceCmdCallback callback)
Constructor for ResourceNAGIOS class.
#define WINEXPORT
Definition: projectcommon.h:45
This file defines our base object class: AssimObj.
Project common header file.
char * nagioscmd
Full pathname of this nagios-compatible agent.
ConfigContext * environment
Environment for child process.
Implements Configuration Context class.
ResourceCmd baseclass
Base object: implements ref, unref, toString.
Implements the resource command abstract class.
Implements Child Process class.