#include <gnunet_transport_testing_ng_lib.h>
Data Fields | |
struct GNUNET_TESTING_AsyncContext | ac |
Context for our asynchronous completion. More... | |
char * | node_ip |
The ip of a node. More... | |
struct GNUNET_MQ_MessageHandler * | handlers |
Receive callback. More... | |
char * | cfgname |
GNUnet configuration file used to start a peer. More... | |
struct GNUNET_CONFIGURATION_Handle * | cfg |
Peer's configuration. More... | |
struct GNUNET_TESTING_Peer * | peer |
struct GNUNET_TESTING_Peer returned by GNUNET_TESTING_peer_configure. More... | |
struct GNUNET_PeerIdentity | id |
Peer identity. More... | |
struct GNUNET_TRANSPORT_CoreHandle * | th |
Peer's transport service handle. More... | |
struct GNUNET_TRANSPORT_ApplicationHandle * | ah |
Application handle. More... | |
struct GNUNET_PEERSTORE_Handle * | ph |
Peer's PEERSTORE Handle. More... | |
struct GNUNET_SCHEDULER_Task * | rh_task |
Hello get task. More... | |
struct GNUNET_PEERSTORE_IterateContext * | pic |
Peer's transport get hello handle to retrieve peer's HELLO message. More... | |
char * | hello |
Hello. More... | |
size_t | hello_size |
Hello size. More... | |
char * | system_label |
The label of the command which was started by calling GNUNET_TESTING_cmd_system_create. More... | |
unsigned int | no |
An unique number to identify the peer. 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... | |
const struct GNUNET_TESTING_System * | tl_system |
Test setup for this peer. More... | |
GNUNET_TESTING_notify_connect_cb | notify_connect |
Callback which is called on neighbour connect events. More... | |
enum GNUNET_GenericReturnValue | broadcast |
Flag indicating, if udp broadcast should be switched on. More... | |
Definition at line 51 of file gnunet_transport_testing_ng_lib.h.
struct GNUNET_TESTING_AsyncContext GNUNET_TESTING_StartPeerState::ac |
Context for our asynchronous completion.
Definition at line 56 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TRANSPORT_cmd_start_peer(), hello_iter_cb(), and notify_connect().
char* GNUNET_TESTING_StartPeerState::node_ip |
The ip of a node.
Definition at line 61 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), start_peer_cleanup(), and start_peer_run().
struct GNUNET_MQ_MessageHandler* GNUNET_TESTING_StartPeerState::handlers |
Receive callback.
Definition at line 66 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TRANSPORT_cmd_start_peer(), start_peer_cleanup(), and start_peer_run().
char* GNUNET_TESTING_StartPeerState::cfgname |
GNUnet configuration file used to start a peer.
Definition at line 71 of file gnunet_transport_testing_ng_lib.h.
Referenced by connect_peers_run(), GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), start_peer_cleanup(), and start_peer_run().
struct GNUNET_CONFIGURATION_Handle* GNUNET_TESTING_StartPeerState::cfg |
Peer's configuration.
Definition at line 76 of file gnunet_transport_testing_ng_lib.h.
Referenced by connect_peers_run(), start_peer_run(), and start_service_run().
struct GNUNET_TESTING_Peer* GNUNET_TESTING_StartPeerState::peer |
struct GNUNET_TESTING_Peer returned by GNUNET_TESTING_peer_configure.
Definition at line 81 of file gnunet_transport_testing_ng_lib.h.
Referenced by notify_disconnect(), start_peer_run(), and stop_peer_run().
struct GNUNET_PeerIdentity GNUNET_TESTING_StartPeerState::id |
Peer identity.
Definition at line 86 of file gnunet_transport_testing_ng_lib.h.
Referenced by notify_connect(), notify_disconnect(), retrieve_hello(), start_peer_run(), start_peer_traits(), and stop_peer_run().
struct GNUNET_TRANSPORT_CoreHandle* GNUNET_TESTING_StartPeerState::th |
Peer's transport service handle.
Definition at line 91 of file gnunet_transport_testing_ng_lib.h.
Referenced by start_peer_run(), and stop_peer_run().
struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TESTING_StartPeerState::ah |
Application handle.
Definition at line 96 of file gnunet_transport_testing_ng_lib.h.
Referenced by start_peer_run(), start_peer_traits(), and stop_peer_run().
struct GNUNET_PEERSTORE_Handle* GNUNET_TESTING_StartPeerState::ph |
Peer's PEERSTORE Handle.
Definition at line 101 of file gnunet_transport_testing_ng_lib.h.
Referenced by retrieve_hello(), start_peer_run(), and stop_peer_run().
struct GNUNET_SCHEDULER_Task* GNUNET_TESTING_StartPeerState::rh_task |
Hello get task.
Definition at line 106 of file gnunet_transport_testing_ng_lib.h.
Referenced by hello_iter_cb(), retrieve_hello(), start_peer_run(), and stop_peer_run().
struct GNUNET_PEERSTORE_IterateContext* GNUNET_TESTING_StartPeerState::pic |
Peer's transport get hello handle to retrieve peer's HELLO message.
Definition at line 111 of file gnunet_transport_testing_ng_lib.h.
Referenced by hello_iter_cb(), retrieve_hello(), and stop_peer_run().
char* GNUNET_TESTING_StartPeerState::hello |
Hello.
Definition at line 116 of file gnunet_transport_testing_ng_lib.h.
Referenced by hello_iter_cb(), start_peer_cleanup(), and start_peer_traits().
size_t GNUNET_TESTING_StartPeerState::hello_size |
Hello size.
Definition at line 121 of file gnunet_transport_testing_ng_lib.h.
Referenced by hello_iter_cb(), and start_peer_traits().
char* GNUNET_TESTING_StartPeerState::system_label |
The label of the command which was started by calling GNUNET_TESTING_cmd_system_create.
Definition at line 126 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), start_peer_cleanup(), and start_peer_run().
unsigned int GNUNET_TESTING_StartPeerState::no |
An unique number to identify the peer.
Definition at line 131 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), notify_connect(), notify_disconnect(), start_peer_run(), and stop_peer_run().
struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_StartPeerState::connected_peers_map |
A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to.
Definition at line 137 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), notify_connect(), start_peer_cleanup(), and start_peer_traits().
const struct GNUNET_TESTING_System* GNUNET_TESTING_StartPeerState::tl_system |
Test setup for this peer.
Definition at line 142 of file gnunet_transport_testing_ng_lib.h.
Referenced by start_peer_run().
GNUNET_TESTING_notify_connect_cb GNUNET_TESTING_StartPeerState::notify_connect |
Callback which is called on neighbour connect events.
Definition at line 147 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TRANSPORT_cmd_start_peer(), and notify_connect().
enum GNUNET_GenericReturnValue GNUNET_TESTING_StartPeerState::broadcast |
Flag indicating, if udp broadcast should be switched on.
Definition at line 152 of file gnunet_transport_testing_ng_lib.h.
Referenced by GNUNET_TESTING_cmd_start_peer(), GNUNET_TRANSPORT_cmd_start_peer(), and start_peer_run().