Data Fields | |
| pid_t | pid |
| PID of the process. | |
| struct GNUNET_DISK_FileHandle * | control_pipe |
| Pipe we use to signal the process. | |
| enum GNUNET_OS_InheritStdioFlags | std_inheritance |
| What to do with stdin/stdout/stderr unless already specified in the file map. | |
| unsigned int | map_size |
| Length of the map. | |
| struct ProcessFileMapEntry * | map |
| Map of file descriptors to keep and dup2 for the new process. | |
| unsigned int | envs_size |
| Length of the envs. | |
| struct EnviEntry * | envs |
| Environment variables to set in the target process. | |
| char * | filename |
| Name of the binary to execute. | |
| char ** | argv |
| Command-line arguments to pass, NULL-terminated. | |
| enum GNUNET_OS_ProcessStatusType | exit_type |
| Runtime status of the process. | |
| unsigned long | exit_code |
| Exit status code of the process, interpretation depends on exit_type. | |
Definition at line 84 of file os_process.c.
| pid_t GNUNET_Process::pid |
PID of the process.
Definition at line 89 of file os_process.c.
Referenced by GNUNET_HELLO_builder_from_parser(), GNUNET_process_create(), GNUNET_process_current(), GNUNET_process_get_pid(), GNUNET_process_kill(), GNUNET_process_start(), GNUNET_process_wait(), and parser_new().
| struct GNUNET_DISK_FileHandle* GNUNET_Process::control_pipe |
Pipe we use to signal the process.
NULL if unused, or if process was deemed uncontrollable.
Definition at line 95 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_kill(), and GNUNET_process_start().
| enum GNUNET_OS_InheritStdioFlags GNUNET_Process::std_inheritance |
What to do with stdin/stdout/stderr unless already specified in the file map.
Definition at line 101 of file os_process.c.
Referenced by GNUNET_process_create(), GNUNET_process_set_options_(), GNUNET_process_start(), and start_arm_service().
| unsigned int GNUNET_Process::map_size |
Length of the map.
Definition at line 106 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_set_options_(), GNUNET_process_start(), and map_std().
| struct ProcessFileMapEntry* GNUNET_Process::map |
Map of file descriptors to keep and dup2 for the new process.
Definition at line 111 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_set_options_(), GNUNET_process_start(), and map_std().
| unsigned int GNUNET_Process::envs_size |
Length of the envs.
Definition at line 116 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_set_options_(), and GNUNET_process_start().
| struct EnviEntry* GNUNET_Process::envs |
Environment variables to set in the target process.
Definition at line 121 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_set_options_(), and GNUNET_process_start().
| char* GNUNET_Process::filename |
Name of the binary to execute.
Definition at line 126 of file os_process.c.
Referenced by GNUNET_FS_publish_main_(), GNUNET_FS_publish_make_status_(), GNUNET_process_destroy(), GNUNET_process_set_command(), GNUNET_process_set_command_ap(), GNUNET_process_set_command_argv(), GNUNET_process_start(), handle_index_start_failed(), hash_for_index_cb(), index_mq_error_handler(), and signal_publish_error().
| char** GNUNET_Process::argv |
Command-line arguments to pass, NULL-terminated.
Definition at line 131 of file os_process.c.
Referenced by GNUNET_process_destroy(), GNUNET_process_set_command(), GNUNET_process_set_command_ap(), GNUNET_process_set_command_argv(), and GNUNET_process_start().
| enum GNUNET_OS_ProcessStatusType GNUNET_Process::exit_type |
Runtime status of the process.
Definition at line 136 of file os_process.c.
Referenced by GNUNET_process_wait().
| unsigned long GNUNET_Process::exit_code |
Exit status code of the process, interpretation depends on exit_type.
Definition at line 141 of file os_process.c.
Referenced by GNUNET_process_wait().