GNUnet 0.21.1
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...
 
char * topology_config
 Configuration file for the test topology. More...
 
unsigned int * read_file
 Shall we read the topology from file, or from a string. More...
 
struct GNUNET_TESTING_Interpreteris
 Global state of the interpreter, used by a command to access information about other commands. More...
 
struct GNUNET_TESTING_NetjailTopologytopology
 The complete topology information. More...
 
const struct GNUNET_HELPER_Handle ** helper
 Array with handles of helper processes. More...
 
unsigned int n_helper
 Size of the array NetJailState::helper. More...
 
unsigned int local_m
 Number of nodes in a natted subnet. More...
 
unsigned int global_n
 Number of natted subnets. More...
 
unsigned int known
 Number of global known nodes. More...
 
unsigned int number_of_testsystems_started
 Number of test environments started. More...
 
unsigned int number_of_peers_started
 Number of peers started. More...
 
unsigned int number_of_local_tests_finished
 Number of local tests finished. More...
 
unsigned int number_of_local_tests_prepared
 Number of local tests prepared to finish. More...
 
char * plugin_name
 Name of the test case plugin the helper will load. More...
 
char * topology_data
 String with topology data or name of topology file. More...
 
struct GNUNET_TIME_Relative timeout
 Time after this cmd has to finish. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Timeout task. More...
 
struct GNUNET_OS_Processstop_proc
 The process id of the start script. More...
 

Detailed Description

Struct to hold information for callbacks.

Struct to store information handed over to callbacks.

Definition at line 41 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 46 of file testing_api_cmd_netjail_start.c.

◆ cwh

struct GNUNET_ChildWaitHandle * NetJailState::cwh

Definition at line 49 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 54 of file testing_api_cmd_netjail_start.c.

◆ topology_config

char * NetJailState::topology_config

Configuration file for the test topology.

Definition at line 59 of file testing_api_cmd_netjail_start.c.

Referenced by GNUNET_TESTING_cmd_netjail_start(), and GNUNET_TESTING_cmd_netjail_stop().

◆ read_file

unsigned int * NetJailState::read_file

Shall we read the topology from file, or from a string.

Definition at line 64 of file testing_api_cmd_netjail_start.c.

◆ 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 79 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ topology

struct GNUNET_TESTING_NetjailTopology* NetJailState::topology

The complete topology information.

Definition at line 89 of file testing_api_cmd_netjail_start_cmds_helper.c.

Referenced by GNUNET_TESTING_cmd_netjail_start_cmds_helper().

◆ helper

const struct GNUNET_HELPER_Handle** NetJailState::helper

Array with handles of helper processes.

Definition at line 94 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ n_helper

unsigned int NetJailState::n_helper

Size of the array NetJailState::helper.

Definition at line 100 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ local_m

unsigned int NetJailState::local_m

Number of nodes in a natted subnet.

Definition at line 106 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ global_n

unsigned int NetJailState::global_n

Number of natted subnets.

Definition at line 112 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ known

unsigned int NetJailState::known

Number of global known nodes.

Definition at line 118 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ number_of_testsystems_started

unsigned int NetJailState::number_of_testsystems_started

Number of test environments started.

Definition at line 125 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ number_of_peers_started

unsigned int NetJailState::number_of_peers_started

Number of peers started.

Definition at line 131 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ number_of_local_tests_finished

unsigned int NetJailState::number_of_local_tests_finished

Number of local tests finished.

Definition at line 137 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ number_of_local_tests_prepared

unsigned int NetJailState::number_of_local_tests_prepared

Number of local tests prepared to finish.

Definition at line 143 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ plugin_name

char* NetJailState::plugin_name

Name of the test case plugin the helper will load.

Definition at line 149 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ topology_data

char* NetJailState::topology_data

String with topology data or name of topology file.

Definition at line 159 of file testing_api_cmd_netjail_start_cmds_helper.c.

Referenced by GNUNET_TESTING_cmd_netjail_start_cmds_helper().

◆ timeout

struct GNUNET_TIME_Relative NetJailState::timeout

Time after this cmd has to finish.

Definition at line 164 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task* NetJailState::timeout_task

Timeout task.

Definition at line 169 of file testing_api_cmd_netjail_start_cmds_helper.c.

◆ stop_proc

struct GNUNET_OS_Process* NetJailState::stop_proc

The process id of the start script.

Definition at line 58 of file testing_api_cmd_netjail_stop.c.


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