GNUnet 0.22.2
GNUNET_TRANSPORT_TESTING_PeerContext Struct Reference

Context for a single peer. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/transport/transport-testing2.h>

Collaboration diagram for GNUNET_TRANSPORT_TESTING_PeerContext:
[legend]

Data Fields

struct GNUNET_TRANSPORT_TESTING_PeerContextnext
 Next element in the DLL. More...
 
struct GNUNET_TRANSPORT_TESTING_PeerContextprev
 Previous element in the DLL. More...
 
struct GNUNET_TRANSPORT_TESTING_Handletth
 Transport testing handle this peer belongs to. More...
 
struct GNUNET_TRANSPORT_ApplicationHandleah
 Application handle. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Peer's configuration. More...
 
struct GNUNET_TRANSPORT_CoreHandleth
 Peer's transport service handle. More...
 
struct GNUNET_PEERSTORE_Handleph
 Peer's PEERSTORE Handle. More...
 
struct GNUNET_PEERSTORE_IterateContextpic
 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_Processarm_proc
 Handle for the peer's ARM process. More...
 
struct GNUNET_MQ_MessageHandlerhandlers
 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_Taskrh_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...
 

Detailed Description

Context for a single peer.

Definition at line 53 of file transport-testing2.h.

Field Documentation

◆ next

struct GNUNET_TRANSPORT_TESTING_PeerContext* GNUNET_TRANSPORT_TESTING_PeerContext::next

Next element in the DLL.

Definition at line 58 of file transport-testing2.h.

◆ prev

struct GNUNET_TRANSPORT_TESTING_PeerContext* GNUNET_TRANSPORT_TESTING_PeerContext::prev

Previous element in the DLL.

Definition at line 63 of file transport-testing2.h.

◆ tth

◆ ah

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().

◆ cfg

struct GNUNET_CONFIGURATION_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::cfg

Peer's configuration.

Definition at line 78 of file transport-testing2.h.

◆ th

struct GNUNET_TRANSPORT_CoreHandle* GNUNET_TRANSPORT_TESTING_PeerContext::th

Peer's transport service handle.

Definition at line 83 of file transport-testing2.h.

◆ ph

struct GNUNET_PEERSTORE_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::ph

Peer's PEERSTORE Handle.

Definition at line 88 of file transport-testing2.h.

◆ pic

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.

◆ hello

char* GNUNET_TRANSPORT_TESTING_PeerContext::hello

Hello.

Definition at line 98 of file transport-testing2.h.

◆ hello_size

size_t GNUNET_TRANSPORT_TESTING_PeerContext::hello_size

Hello size.

Definition at line 103 of file transport-testing2.h.

◆ peer

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().

◆ id

◆ arm_proc

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.

◆ handlers

struct GNUNET_MQ_MessageHandler* GNUNET_TRANSPORT_TESTING_PeerContext::handlers

Receive callback.

Definition at line 123 of file transport-testing2.h.

◆ nc

GNUNET_TRANSPORT_NotifyConnect GNUNET_TRANSPORT_TESTING_PeerContext::nc

Notify connect callback.

Definition at line 128 of file transport-testing2.h.

◆ nd

GNUNET_TRANSPORT_NotifyDisconnect GNUNET_TRANSPORT_TESTING_PeerContext::nd

Notify disconnect callback.

Definition at line 133 of file transport-testing2.h.

◆ start_cb

GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_PeerContext::start_cb

Startup completed callback.

Definition at line 138 of file transport-testing2.h.

◆ rh_task

struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_PeerContext::rh_task

Hello get task.

Definition at line 143 of file transport-testing2.h.

◆ cb_cls

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().

◆ start_cb_cls

void* GNUNET_TRANSPORT_TESTING_PeerContext::start_cb_cls

Closure for start_cb.

Definition at line 153 of file transport-testing2.h.

◆ no

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().


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