GNUnet 0.26.2-32-gd298f7855
 
Loading...
Searching...
No Matches
GNUNET_ProcessOptionValue Struct Reference

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.
 

Detailed Description

Possible options we can set for a process.

Definition at line 791 of file gnunet_os_lib.h.

Field Documentation

◆ option

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_().

◆ std_inheritance

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_().

◆ key

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_().

◆ value

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]

struct { ... } GNUNET_ProcessOptionValue::set_environment

◆ target_fd

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_().

◆ parent_fd

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]

struct { ... } GNUNET_ProcessOptionValue::inherit_fd

◆ inherit_lsock

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]

union { ... } GNUNET_ProcessOptionValue::details

Specific option value.

Referenced by GNUNET_process_set_options_().


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