GNUnet  0.19.0
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 39 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 136 of file testing_api_cmd_netjail_start.c.

◆ cwh

struct GNUNET_ChildWaitHandle * NetJailState::cwh

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

◆ topology_config

char * NetJailState::topology_config

Configuration file for the test topology.

Definition at line 57 of file testing_api_cmd_netjail_start.c.

◆ read_file

unsigned int * NetJailState::read_file

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

Definition at line 62 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 77 of file testing_api_cmd_netjail_start_testsystem.c.

◆ topology

struct GNUNET_TESTING_NetjailTopology* NetJailState::topology

The complete topology information.

Definition at line 87 of file testing_api_cmd_netjail_start_testsystem.c.

◆ helper

const struct GNUNET_HELPER_Handle** NetJailState::helper

Array with handles of helper processes.

Definition at line 92 of file testing_api_cmd_netjail_start_testsystem.c.

◆ n_helper

unsigned int NetJailState::n_helper

Size of the array NetJailState::helper.

Definition at line 98 of file testing_api_cmd_netjail_start_testsystem.c.

◆ local_m

unsigned int NetJailState::local_m

Number of nodes in a natted subnet.

Definition at line 104 of file testing_api_cmd_netjail_start_testsystem.c.

◆ global_n

unsigned int NetJailState::global_n

Number of natted subnets.

Definition at line 110 of file testing_api_cmd_netjail_start_testsystem.c.

◆ known

unsigned int NetJailState::known

Number of global known nodes.

Definition at line 116 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_testsystems_started

unsigned int NetJailState::number_of_testsystems_started

Number of test environments started.

Definition at line 123 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_peers_started

unsigned int NetJailState::number_of_peers_started

Number of peers started.

Definition at line 129 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_local_tests_finished

unsigned int NetJailState::number_of_local_tests_finished

Number of local tests finished.

Definition at line 135 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_local_tests_prepared

unsigned int NetJailState::number_of_local_tests_prepared

Number of local tests prepared to finish.

Definition at line 141 of file testing_api_cmd_netjail_start_testsystem.c.

◆ plugin_name

char* NetJailState::plugin_name

Name of the test case plugin the helper will load.

Definition at line 147 of file testing_api_cmd_netjail_start_testsystem.c.

◆ topology_data

char* NetJailState::topology_data

String with topology data or name of topology file.

Definition at line 157 of file testing_api_cmd_netjail_start_testsystem.c.

◆ timeout

struct GNUNET_TIME_Relative NetJailState::timeout

Time after this cmd has to finish.

Definition at line 157 of file testing_api_cmd_netjail_start_testsystem.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task* NetJailState::timeout_task

Timeout task.

Definition at line 167 of file testing_api_cmd_netjail_start_testsystem.c.

◆ stop_proc

struct GNUNET_OS_Process* NetJailState::stop_proc

The process id of the start script.

Definition at line 56 of file testing_api_cmd_netjail_stop.c.


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