API for cmds working with core sub system provided by libgnunetcoretesting. More...
#include <gnunet_testing_core_lib.h>
Data Fields | |
struct GNUNET_MQ_MessageHandler * | handlers |
Receive callback. More... | |
struct GNUNET_CONTAINER_MultiShortmap * | connected_peers_map |
A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to. More... | |
struct GNUNET_TRANSPORT_ApplicationHandle * | ah |
Handle for transport. More... | |
struct GNUNET_TRANSPORT_CoreHandle * | th |
Core handle. More... | |
struct GNUNET_TESTING_AsyncContext | ac |
Context for our asynchronous completion. More... | |
const struct GNUNET_TESTING_System * | tl_system |
The testing system of this node. More... | |
const char * | create_label |
uint32_t | num |
Number globally identifying the node. More... | |
const char * | start_peer_label |
Label of the cmd to start a peer. More... | |
struct GNUNET_TESTING_NetjailTopology * | topology |
The topology of the test setup. More... | |
struct GNUNET_TESTING_NodeConnection * | node_connections_head |
Connections to other peers. More... | |
struct GNUNET_TESTING_Interpreter * | is |
unsigned int | con_num |
Number of connections. More... | |
unsigned int | additional_connects |
Number of additional connects this cmd will wait for not triggered by this cmd. More... | |
unsigned int | con_num_notified |
Number of connections we already have a notification for. More... | |
unsigned int | additional_connects_notified |
Number of additional connects this cmd will wait for not triggered by this cmd we already have a notification for. More... | |
unsigned int | wait_for_connect |
Flag indicating, whether the command is waiting for peers to connect that are configured to connect. More... | |
API for cmds working with core sub system provided by libgnunetcoretesting.
Definition at line 37 of file gnunet_testing_core_lib.h.
struct GNUNET_MQ_MessageHandler* GNUNET_TESTING_ConnectPeersState::handlers |
Receive callback.
Definition at line 42 of file gnunet_testing_core_lib.h.
Referenced by GNUNET_CORE_cmd_connect_peers().
struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_ConnectPeersState::connected_peers_map |
A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to.
Definition at line 48 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_cleanup(), and GNUNET_CORE_cmd_connect_peers().
struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TESTING_ConnectPeersState::ah |
Handle for transport.
Definition at line 53 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run().
struct GNUNET_TRANSPORT_CoreHandle* GNUNET_TESTING_ConnectPeersState::th |
Core handle.
Definition at line 58 of file gnunet_testing_core_lib.h.
struct GNUNET_TESTING_AsyncContext GNUNET_TESTING_ConnectPeersState::ac |
Context for our asynchronous completion.
Definition at line 63 of file gnunet_testing_core_lib.h.
Referenced by GNUNET_CORE_cmd_connect_peers().
const struct GNUNET_TESTING_System* GNUNET_TESTING_ConnectPeersState::tl_system |
The testing system of this node.
Definition at line 68 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run().
const char* GNUNET_TESTING_ConnectPeersState::create_label |
Definition at line 71 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run(), and GNUNET_CORE_cmd_connect_peers().
uint32_t GNUNET_TESTING_ConnectPeersState::num |
Number globally identifying the node.
Definition at line 77 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run(), and GNUNET_CORE_cmd_connect_peers().
const char* GNUNET_TESTING_ConnectPeersState::start_peer_label |
Label of the cmd to start a peer.
Definition at line 83 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run(), and GNUNET_CORE_cmd_connect_peers().
struct GNUNET_TESTING_NetjailTopology* GNUNET_TESTING_ConnectPeersState::topology |
The topology of the test setup.
Definition at line 88 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run(), and GNUNET_CORE_cmd_connect_peers().
struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_ConnectPeersState::node_connections_head |
Connections to other peers.
Definition at line 93 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run().
struct GNUNET_TESTING_Interpreter* GNUNET_TESTING_ConnectPeersState::is |
Definition at line 95 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run().
unsigned int GNUNET_TESTING_ConnectPeersState::con_num |
Number of connections.
Definition at line 100 of file gnunet_testing_core_lib.h.
Referenced by connect_peers_run().
unsigned int GNUNET_TESTING_ConnectPeersState::additional_connects |
Number of additional connects this cmd will wait for not triggered by this cmd.
Definition at line 105 of file gnunet_testing_core_lib.h.
Referenced by GNUNET_CORE_cmd_connect_peers().
unsigned int GNUNET_TESTING_ConnectPeersState::con_num_notified |
Number of connections we already have a notification for.
Definition at line 110 of file gnunet_testing_core_lib.h.
unsigned int GNUNET_TESTING_ConnectPeersState::additional_connects_notified |
Number of additional connects this cmd will wait for not triggered by this cmd we already have a notification for.
Definition at line 115 of file gnunet_testing_core_lib.h.
unsigned int GNUNET_TESTING_ConnectPeersState::wait_for_connect |
Flag indicating, whether the command is waiting for peers to connect that are configured to connect.
Definition at line 120 of file gnunet_testing_core_lib.h.
Referenced by GNUNET_CORE_cmd_connect_peers().