GNUnet 0.22.2
NetJailState Struct Reference

Struct to hold information for callbacks. More...

Collaboration diagram for NetJailState:
[legend]

Data Fields

struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion. More...
 
struct GNUNET_ChildWaitHandlecwh
 
struct GNUNET_OS_Processstart_proc
 The process id of the start script. More...
 
const char * topology_cmd_label
 Configuration file for the test topology. More...
 
const char * script
 Start or stop? More...
 
struct GNUNET_TESTING_Interpreteris
 Global state of the interpreter, used by a command to access information about other commands. More...
 
struct HelperState ** helpers
 Array with handles of helper processes. More...
 
struct GNUNET_TIME_Relative timeout
 Time after this cmd has to finish. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Timeout task. More...
 
struct TestingSystemCounttbc_head
 Kept in a DLL. More...
 
struct TestingSystemCounttbc_tail
 Kept in a DLL. More...
 
const char * topology_data
 Data about our topology as a string. More...
 
unsigned int n_helpers
 Size of the array helpers. More...
 
unsigned int n_finished
 Counts number of helpers that finished. More...
 
bool failed
 Set to true if we already failed the command. More...
 

Detailed Description

Struct to hold information for callbacks.

Struct to store information handed over to callbacks.

Definition at line 37 of file testing_api_cmd_netjail_start.c.

Field Documentation

◆ ac

struct GNUNET_TESTING_AsyncContext NetJailState::ac

Context for our asynchronous completion.

Definition at line 42 of file testing_api_cmd_netjail_start.c.

◆ cwh

struct GNUNET_ChildWaitHandle* NetJailState::cwh

Definition at line 44 of file testing_api_cmd_netjail_start.c.

◆ start_proc

struct GNUNET_OS_Process* NetJailState::start_proc

The process id of the start script.

Definition at line 49 of file testing_api_cmd_netjail_start.c.

◆ topology_cmd_label

const char * NetJailState::topology_cmd_label

Configuration file for the test topology.

Command with topology data.

Definition at line 54 of file testing_api_cmd_netjail_start.c.

Referenced by GNUNET_TESTING_cmd_netjail_setup(), and GNUNET_TESTING_cmd_netjail_start_helpers().

◆ script

const char* NetJailState::script

Start or stop?

Definition at line 59 of file testing_api_cmd_netjail_start.c.

Referenced by GNUNET_TESTING_cmd_netjail_setup().

◆ is

struct GNUNET_TESTING_Interpreter* NetJailState::is

Global state of the interpreter, used by a command to access information about other commands.

Definition at line 56 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ helpers

struct HelperState** NetJailState::helpers

Array with handles of helper processes.

Definition at line 71 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ timeout

struct GNUNET_TIME_Relative NetJailState::timeout

Time after this cmd has to finish.

Definition at line 76 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task* NetJailState::timeout_task

Timeout task.

Definition at line 81 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ tbc_head

struct TestingSystemCount* NetJailState::tbc_head

Kept in a DLL.

Definition at line 86 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ tbc_tail

struct TestingSystemCount* NetJailState::tbc_tail

Kept in a DLL.

Definition at line 91 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ topology_data

const char* NetJailState::topology_data

Data about our topology as a string.

Definition at line 96 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ n_helpers

unsigned int NetJailState::n_helpers

Size of the array helpers.

Definition at line 101 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ n_finished

unsigned int NetJailState::n_finished

Counts number of helpers that finished.

Definition at line 106 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ failed

bool NetJailState::failed

Set to true if we already failed the command.

Definition at line 111 of file testing_api_cmd_netjail_start_cmds_helper.c.


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