GNUnet 0.21.1
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
 
struct GNUNET_OS_Processstart_proc
 The process id of the script. More...
 
const char * script
 Script this cmd will execute. More...
 
char *const * script_argv
 Arguments for the script. More...
 
int argc
 Size of script_argv. More...
 

Detailed Description

Definition at line 32 of file testing_api_cmd_exec_bash_script.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_bash_script.c.

Referenced by child_completed_callback(), and GNUNET_TESTING_cmd_exec_bash_script().

◆ 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_bash_script.c.

Referenced by child_completed_callback(), and GNUNET_TESTING_cmd_exec_bash_script().

◆ cwh

◆ start_proc

struct GNUNET_OS_Process* BashScriptState::start_proc

The process id of the script.

Definition at line 51 of file testing_api_cmd_exec_bash_script.c.

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

◆ script

const char* BashScriptState::script

Script this cmd will execute.

Definition at line 56 of file testing_api_cmd_exec_bash_script.c.

Referenced by exec_bash_script_run(), and GNUNET_TESTING_cmd_exec_bash_script().

◆ script_argv

char* const* BashScriptState::script_argv

Arguments for the script.

Definition at line 62 of file testing_api_cmd_exec_bash_script.c.

Referenced by exec_bash_script_run(), and GNUNET_TESTING_cmd_exec_bash_script().

◆ argc

int BashScriptState::argc

Size of script_argv.

Definition at line 67 of file testing_api_cmd_exec_bash_script.c.

Referenced by exec_bash_script_run(), and GNUNET_TESTING_cmd_exec_bash_script().


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