D-Bus 1.14.10
Data Fields

Babysitter implementation details. More...

Data Fields

int refcount
 Reference count. More...
 
char * log_name
 the name under which to log messages about this process being spawned More...
 
DBusSocket socket_to_babysitter
 Connection to the babysitter process. More...
 
int error_pipe_from_child
 Connection to the process that does the exec() More...
 
pid_t sitter_pid
 PID Of the babysitter. More...
 
pid_t grandchild_pid
 PID of the grandchild. More...
 
DBusWatchListwatches
 Watches. More...
 
DBusWatcherror_watch
 Error pipe watch. More...
 
DBusWatchsitter_watch
 Sitter pipe watch. More...
 
DBusBabysitterFinishedFunc finished_cb
 
void * finished_data
 
int errnum
 Error number. More...
 
int status
 Exit status code. More...
 
unsigned int have_child_status: 1
 True if child status has been reaped. More...
 
unsigned int have_fork_errnum: 1
 True if we have an error code from fork() More...
 
unsigned int have_exec_errnum: 1
 True if we have an error code from exec() More...
 
DBusAtomic refcount
 
HANDLE thread_handle
 
HANDLE child_handle
 
DBusSocket socket_to_main
 
dbus_bool_t have_spawn_errno
 
int spawn_errno
 
dbus_bool_t have_child_status
 
int child_status
 

Detailed Description

Babysitter implementation details.

Definition at line 249 of file dbus-spawn-unix.c.

Field Documentation

◆ child_handle

HANDLE DBusBabysitter::child_handle

Definition at line 67 of file dbus-spawn-win.c.

◆ child_status

int DBusBabysitter::child_status

Definition at line 79 of file dbus-spawn-win.c.

◆ errnum

int DBusBabysitter::errnum

Error number.

Definition at line 270 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_set_child_exit_error().

◆ error_pipe_from_child

int DBusBabysitter::error_pipe_from_child

Connection to the process that does the exec()

Definition at line 257 of file dbus-spawn-unix.c.

◆ error_watch

DBusWatch* DBusBabysitter::error_watch

Error pipe watch.

Definition at line 264 of file dbus-spawn-unix.c.

◆ finished_cb

DBusBabysitterFinishedFunc DBusBabysitter::finished_cb

Definition at line 267 of file dbus-spawn-unix.c.

◆ finished_data

void * DBusBabysitter::finished_data

Definition at line 268 of file dbus-spawn-unix.c.

◆ grandchild_pid

pid_t DBusBabysitter::grandchild_pid

PID of the grandchild.

Definition at line 260 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_kill_child().

◆ have_child_status [1/2]

unsigned int DBusBabysitter::have_child_status

True if child status has been reaped.

Definition at line 272 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_get_child_exit_status(), and _dbus_babysitter_set_child_exit_error().

◆ have_child_status [2/2]

dbus_bool_t DBusBabysitter::have_child_status

Definition at line 78 of file dbus-spawn-win.c.

◆ have_exec_errnum

unsigned int DBusBabysitter::have_exec_errnum

True if we have an error code from exec()

Definition at line 274 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_set_child_exit_error().

◆ have_fork_errnum

unsigned int DBusBabysitter::have_fork_errnum

True if we have an error code from fork()

Definition at line 273 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_set_child_exit_error().

◆ have_spawn_errno

dbus_bool_t DBusBabysitter::have_spawn_errno

Definition at line 76 of file dbus-spawn-win.c.

◆ log_name

char * DBusBabysitter::log_name

the name under which to log messages about this process being spawned

Definition at line 253 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_set_child_exit_error().

◆ refcount [1/2]

int DBusBabysitter::refcount

Reference count.

Definition at line 251 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_ref(), and _dbus_babysitter_unref().

◆ refcount [2/2]

DBusAtomic DBusBabysitter::refcount

Definition at line 63 of file dbus-spawn-win.c.

◆ sitter_pid

pid_t DBusBabysitter::sitter_pid

PID Of the babysitter.

Definition at line 259 of file dbus-spawn-unix.c.

◆ sitter_watch

DBusWatch * DBusBabysitter::sitter_watch

Sitter pipe watch.

Definition at line 265 of file dbus-spawn-unix.c.

◆ socket_to_babysitter

DBusSocket DBusBabysitter::socket_to_babysitter

Connection to the babysitter process.

Definition at line 256 of file dbus-spawn-unix.c.

◆ socket_to_main

DBusSocket DBusBabysitter::socket_to_main

Definition at line 69 of file dbus-spawn-win.c.

◆ spawn_errno

int DBusBabysitter::spawn_errno

Definition at line 77 of file dbus-spawn-win.c.

◆ status

int DBusBabysitter::status

Exit status code.

Definition at line 271 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_get_child_exit_status(), and _dbus_babysitter_set_child_exit_error().

◆ thread_handle

HANDLE DBusBabysitter::thread_handle

Definition at line 66 of file dbus-spawn-win.c.

◆ watches

DBusWatchList * DBusBabysitter::watches

Watches.

Definition at line 262 of file dbus-spawn-unix.c.

Referenced by _dbus_babysitter_set_watch_functions().


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