GNUnet 0.22.2
BashScriptState Struct Reference
Collaboration diagram for BashScriptState:
[legend]

Data Fields

struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion. More...
 
GNUNET_ChildCompletedCallback cb
 Callback handed over to the command, which should be called upon death or completion of the script. More...
 
struct GNUNET_ChildWaitHandlecwh
 Wait for death of start_proc. More...
 
struct GNUNET_OS_Processstart_proc
 The process id of the script. More...
 
char ** args
 NULL-terminated array of command-line arguments. More...
 
enum GNUNET_OS_ProcessStatusType expected_type
 
unsigned long int expected_exit_code
 

Detailed Description

Definition at line 32 of file testing_api_cmd_exec.c.

Field Documentation

◆ ac

struct GNUNET_TESTING_AsyncContext BashScriptState::ac

Context for our asynchronous completion.

Definition at line 37 of file testing_api_cmd_exec.c.

Referenced by child_completed_callback(), GNUNET_TESTING_cmd_exec(), and GNUNET_TESTING_cmd_exec_va().

◆ cb

GNUNET_ChildCompletedCallback BashScriptState::cb

Callback handed over to the command, which should be called upon death or completion of the script.

Definition at line 43 of file testing_api_cmd_exec.c.

◆ cwh

struct GNUNET_ChildWaitHandle* BashScriptState::cwh

Wait for death of start_proc.

Definition at line 48 of file testing_api_cmd_exec.c.

Referenced by child_completed_callback(), exec_bash_script_cleanup(), and exec_bash_script_run().

◆ start_proc

struct GNUNET_OS_Process* BashScriptState::start_proc

The process id of the script.

Definition at line 53 of file testing_api_cmd_exec.c.

Referenced by child_completed_callback(), exec_bash_script_cleanup(), exec_bash_script_run(), and traits().

◆ args

char** BashScriptState::args

NULL-terminated array of command-line arguments.

Definition at line 58 of file testing_api_cmd_exec.c.

Referenced by exec_bash_script_cleanup(), exec_bash_script_run(), GNUNET_TESTING_cmd_exec(), and GNUNET_TESTING_cmd_exec_va().

◆ expected_type

enum GNUNET_OS_ProcessStatusType BashScriptState::expected_type

◆ expected_exit_code

unsigned long int BashScriptState::expected_exit_code

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