Possible options we can set for a process. More...
#include <gnunet_os_lib.h>
Data Fields | ||
| enum GNUNET_ProcessOption | option | |
| Type of the option being set. | ||
| union { | ||
| enum GNUNET_OS_InheritStdioFlags std_inheritance | ||
| Value of if option is GNUNET_PROCESS_OPTION_STD_INHERITANCE. More... | ||
| struct { | ||
| const char * key | ||
| Name of the environment variable to set. More... | ||
| const char * value | ||
| Value to set, NULL to clear. More... | ||
| } set_environment | ||
| Value of if option is GNUNET_PROCESS_OPTION_SET_ENVIRONMENT. More... | ||
| struct { | ||
| int target_fd | ||
| File descriptor in the target process. More... | ||
| int parent_fd | ||
| File descriptor in the parent process (must be open!). More... | ||
| } inherit_fd | ||
| Value of if option is GNUNET_PROCESS_OPTION_INHERIT_FD. More... | ||
| int inherit_lsock | ||
| Value of if option is GNUNET_PROCESS_OPTION_INHERIT_LSOCK. More... | ||
| } | details | |
| Specific option value. | ||
Possible options we can set for a process.
Definition at line 791 of file gnunet_os_lib.h.
| enum GNUNET_ProcessOption GNUNET_ProcessOptionValue::option |
Type of the option being set.
Definition at line 797 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| enum GNUNET_OS_InheritStdioFlags GNUNET_ProcessOptionValue::std_inheritance |
Value of if option is GNUNET_PROCESS_OPTION_STD_INHERITANCE.
Definition at line 808 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| const char* GNUNET_ProcessOptionValue::key |
Name of the environment variable to set.
Definition at line 818 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| const char* GNUNET_ProcessOptionValue::value |
Value to set, NULL to clear.
Definition at line 823 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| struct { ... } GNUNET_ProcessOptionValue::set_environment |
Value of if option is GNUNET_PROCESS_OPTION_SET_ENVIRONMENT.
Referenced by GNUNET_process_set_options_().
| int GNUNET_ProcessOptionValue::target_fd |
File descriptor in the target process.
Definition at line 836 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| int GNUNET_ProcessOptionValue::parent_fd |
File descriptor in the parent process (must be open!).
Definition at line 841 of file gnunet_os_lib.h.
Referenced by GNUNET_process_set_options_().
| struct { ... } GNUNET_ProcessOptionValue::inherit_fd |
Value of if option is GNUNET_PROCESS_OPTION_INHERIT_FD.
Referenced by GNUNET_process_set_options_().
| int GNUNET_ProcessOptionValue::inherit_lsock |
Value of if option is GNUNET_PROCESS_OPTION_INHERIT_LSOCK.
Listen socket in the parent process (must be open)!
Definition at line 849 of file gnunet_os_lib.h.
| union { ... } GNUNET_ProcessOptionValue::details |
Specific option value.
Referenced by GNUNET_process_set_options_().