GNUnet  0.20.0
GNUNET_DHT_TEST_Context Struct Reference

Test context for a DHT Test. More...

Collaboration diagram for GNUNET_DHT_TEST_Context:
[legend]

Data Fields

struct GNUNET_TESTBED_Peer ** peers
 Array of running peers. More...
 
struct GNUNET_DHT_Handle ** dhts
 Array of handles to the DHT for each peer. More...
 
struct GNUNET_TESTBED_Operation ** ops
 Operation associated with the connection to the DHT. More...
 
GNUNET_DHT_TEST_AppMain app_main
 Main function of the test to run once all DHTs are available. More...
 
void * app_main_cls
 Closure for 'app_main'. More...
 
unsigned int num_peers
 Number of peers running, size of the arrays above. More...
 

Detailed Description

Test context for a DHT Test.

Definition at line 31 of file dht_test_lib.c.

Field Documentation

◆ peers

struct GNUNET_TESTBED_Peer** GNUNET_DHT_TEST_Context::peers

Array of running peers.

Definition at line 36 of file dht_test_lib.c.

Referenced by gnunet_testing.Test::add_peer().

◆ dhts

struct GNUNET_DHT_Handle** GNUNET_DHT_TEST_Context::dhts

Array of handles to the DHT for each peer.

Definition at line 41 of file dht_test_lib.c.

◆ ops

struct GNUNET_TESTBED_Operation** GNUNET_DHT_TEST_Context::ops

Operation associated with the connection to the DHT.

Definition at line 46 of file dht_test_lib.c.

◆ app_main

GNUNET_DHT_TEST_AppMain GNUNET_DHT_TEST_Context::app_main

Main function of the test to run once all DHTs are available.

Definition at line 51 of file dht_test_lib.c.

◆ app_main_cls

void* GNUNET_DHT_TEST_Context::app_main_cls

Closure for 'app_main'.

Definition at line 56 of file dht_test_lib.c.

◆ num_peers

unsigned int GNUNET_DHT_TEST_Context::num_peers

Number of peers running, size of the arrays above.

Definition at line 61 of file dht_test_lib.c.


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