Context for a single peer. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/transport/transport-testing2.h>
Data Fields | |
struct GNUNET_TRANSPORT_TESTING_PeerContext * | next |
Next element in the DLL. More... | |
struct GNUNET_TRANSPORT_TESTING_PeerContext * | prev |
Previous element in the DLL. More... | |
struct GNUNET_TRANSPORT_TESTING_Handle * | tth |
Transport testing handle this peer belongs to. More... | |
struct GNUNET_TRANSPORT_ApplicationHandle * | ah |
Application handle. More... | |
struct GNUNET_CONFIGURATION_Handle * | cfg |
Peer's configuration. More... | |
struct GNUNET_TRANSPORT_CoreHandle * | th |
Peer's transport service handle. More... | |
struct GNUNET_PEERSTORE_Handle * | ph |
Peer's PEERSTORE Handle. 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... | |
struct GNUNET_TESTING_Peer * | peer |
Peer's testing handle. More... | |
struct GNUNET_PeerIdentity | id |
Peer identity. More... | |
struct GNUNET_OS_Process * | arm_proc |
Handle for the peer's ARM process. More... | |
struct GNUNET_MQ_MessageHandler * | handlers |
Receive callback. More... | |
GNUNET_TRANSPORT_NotifyConnect | nc |
Notify connect callback. More... | |
GNUNET_TRANSPORT_NotifyDisconnect | nd |
Notify disconnect callback. More... | |
GNUNET_SCHEDULER_TaskCallback | start_cb |
Startup completed callback. More... | |
struct GNUNET_SCHEDULER_Task * | rh_task |
Hello get task. More... | |
void * | cb_cls |
Closure for the nc and nd callbacks. More... | |
void * | start_cb_cls |
Closure for start_cb. More... | |
unsigned int | no |
An unique number to identify the peer. More... | |
Context for a single peer.
Definition at line 53 of file transport-testing2.h.
struct GNUNET_TRANSPORT_TESTING_PeerContext* GNUNET_TRANSPORT_TESTING_PeerContext::next |
Next element in the DLL.
Definition at line 58 of file transport-testing2.h.
struct GNUNET_TRANSPORT_TESTING_PeerContext* GNUNET_TRANSPORT_TESTING_PeerContext::prev |
Previous element in the DLL.
Definition at line 63 of file transport-testing2.h.
struct GNUNET_TRANSPORT_TESTING_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::tth |
Transport testing handle this peer belongs to.
Definition at line 68 of file transport-testing2.h.
Referenced by find_peer_context(), GNUNET_TRANSPORT_TESTING_connect_peers(), GNUNET_TRANSPORT_TESTING_connect_peers_cancel(), GNUNET_TRANSPORT_TESTING_done(), and GNUNET_TRANSPORT_TESTING_find_connecting_context().
struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TRANSPORT_TESTING_PeerContext::ah |
Application handle.
Definition at line 73 of file transport-testing2.h.
Referenced by GNUNET_TRANSPORT_TESTING_connect_peers(), and notify_disconnect().
struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::cfg |
Peer's configuration.
Definition at line 78 of file transport-testing2.h.
struct GNUNET_TRANSPORT_CoreHandle* GNUNET_TRANSPORT_TESTING_PeerContext::th |
Peer's transport service handle.
Definition at line 83 of file transport-testing2.h.
struct GNUNET_PEERSTORE_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::ph |
Peer's PEERSTORE Handle.
Definition at line 88 of file transport-testing2.h.
struct GNUNET_PEERSTORE_IterateContext* GNUNET_TRANSPORT_TESTING_PeerContext::pic |
Peer's transport get hello handle to retrieve peer's HELLO message.
Definition at line 93 of file transport-testing2.h.
char* GNUNET_TRANSPORT_TESTING_PeerContext::hello |
Hello.
Definition at line 98 of file transport-testing2.h.
size_t GNUNET_TRANSPORT_TESTING_PeerContext::hello_size |
Hello size.
Definition at line 103 of file transport-testing2.h.
struct GNUNET_TESTING_Peer* GNUNET_TRANSPORT_TESTING_PeerContext::peer |
Peer's testing handle.
Definition at line 108 of file transport-testing2.h.
Referenced by find_peer_context(), and GNUNET_TRANSPORT_TESTING_find_peer().
struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_PeerContext::id |
Peer identity.
Definition at line 113 of file transport-testing2.h.
Referenced by connect_cb(), do_connect(), GNUNET_TRANSPORT_TESTING_connect_peers(), GNUNET_TRANSPORT_TESTING_find_peer(), GNUNET_TRANSPORT_TESTING_send(), notify_connect(), and notify_disconnect().
struct GNUNET_OS_Process* GNUNET_TRANSPORT_TESTING_PeerContext::arm_proc |
Handle for the peer's ARM process.
Definition at line 118 of file transport-testing2.h.
struct GNUNET_MQ_MessageHandler* GNUNET_TRANSPORT_TESTING_PeerContext::handlers |
Receive callback.
Definition at line 123 of file transport-testing2.h.
GNUNET_TRANSPORT_NotifyConnect GNUNET_TRANSPORT_TESTING_PeerContext::nc |
Notify connect callback.
Definition at line 128 of file transport-testing2.h.
GNUNET_TRANSPORT_NotifyDisconnect GNUNET_TRANSPORT_TESTING_PeerContext::nd |
Notify disconnect callback.
Definition at line 133 of file transport-testing2.h.
GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_PeerContext::start_cb |
Startup completed callback.
Definition at line 138 of file transport-testing2.h.
struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_PeerContext::rh_task |
Hello get task.
Definition at line 143 of file transport-testing2.h.
void* GNUNET_TRANSPORT_TESTING_PeerContext::cb_cls |
Closure for the nc and nd callbacks.
Definition at line 148 of file transport-testing2.h.
Referenced by hello_iter_cb().
void* GNUNET_TRANSPORT_TESTING_PeerContext::start_cb_cls |
Closure for start_cb.
Definition at line 153 of file transport-testing2.h.
unsigned int GNUNET_TRANSPORT_TESTING_PeerContext::no |
An unique number to identify the peer.
Definition at line 158 of file transport-testing2.h.
Referenced by connect_cb(), do_connect(), GNUNET_TRANSPORT_TESTING_send(), notify_connect(), and notify_disconnect().