The Assimilation Project  based on Assimilation version 1.1.7.1474836767
_ChildProcess Struct Reference

#include <childprocess.h>

Collaboration diagram for _ChildProcess:

Data Fields

AssimObj baseclass
 Our base class. More...
 
GPid child_pid
 The GPid returned from spawning this object. More...
 
GMainFdstdout_src
 GSource for logging/saving the standard output of child. More...
 
LogSourceFdstderr_src
 GSource for logging the standard error of this child. More...
 
guint timeout
 Timeout value for this child. More...
 
guint timeoutsrc_id
 GSource id for the timeout for this child to complete. More...
 
guint childsrc_id
 GSource id for the child process. More...
 
gint child_state
 State for the child process. More...
 
char * loggingname
 Name to use when logging process exits. More...
 
enum ChildErrLogMode logmode
 Which types of exits should we log. More...
 
char ** argv
 Argument list for this child (malloced) More...
 
char ** envp
 Environment list for this child (malloced) More...
 
char * curdir
 Starting directory for this child (malloced) More...
 
void(* notify )(ChildProcess *, enum HowDied, int rc, int signal, gboolean core_dumped)
 Called when it exits. More...
 
gpointer user_data
 User data given to us when the object was created. More...
 

Detailed Description

Definition at line 53 of file childprocess.h.

Field Documentation

char** _ChildProcess::argv

Argument list for this child (malloced)

Definition at line 64 of file childprocess.h.

AssimObj _ChildProcess::baseclass

Our base class.

Definition at line 54 of file childprocess.h.

GPid _ChildProcess::child_pid

The GPid returned from spawning this object.

Definition at line 55 of file childprocess.h.

gint _ChildProcess::child_state

State for the child process.

Definition at line 61 of file childprocess.h.

guint _ChildProcess::childsrc_id

GSource id for the child process.

Definition at line 60 of file childprocess.h.

char* _ChildProcess::curdir

Starting directory for this child (malloced)

Definition at line 66 of file childprocess.h.

char** _ChildProcess::envp

Environment list for this child (malloced)

Definition at line 65 of file childprocess.h.

char* _ChildProcess::loggingname

Name to use when logging process exits.

Definition at line 62 of file childprocess.h.

enum ChildErrLogMode _ChildProcess::logmode

Which types of exits should we log.

Definition at line 63 of file childprocess.h.

void(* _ChildProcess::notify) (ChildProcess *, enum HowDied, int rc, int signal, gboolean core_dumped)

Called when it exits.

Definition at line 67 of file childprocess.h.

LogSourceFd* _ChildProcess::stderr_src

GSource for logging the standard error of this child.

Definition at line 57 of file childprocess.h.

GMainFd* _ChildProcess::stdout_src

GSource for logging/saving the standard output of child.

Definition at line 56 of file childprocess.h.

Referenced by _jsondiscovery_childwatch().

guint _ChildProcess::timeout

Timeout value for this child.

Definition at line 58 of file childprocess.h.

guint _ChildProcess::timeoutsrc_id

GSource id for the timeout for this child to complete.

Definition at line 59 of file childprocess.h.

gpointer _ChildProcess::user_data

User data given to us when the object was created.

Definition at line 69 of file childprocess.h.

Referenced by _jsondiscovery_childwatch(), _resourcelsb_child_notify(), _resourcenagios_child_notify(), and _resourceocf_child_notify().


The documentation for this struct was generated from the following file: