GNUnet 0.22.2
PeerRecord Struct Reference

Information we track for each peer. More...

Collaboration diagram for PeerRecord:
[legend]

Data Fields

struct GNUNET_CORE_Handleh
 Corresponding CORE handle. More...
 
struct GNUNET_MQ_Handlemq
 Message queue for the peer. More...
 
struct GNUNET_MQ_Envelopeenv
 Message we are currently trying to pass to the CORE service for this peer (from mq). More...
 
void * client_cls
 Value the client returned when we connected, used as the closure in various places. More...
 
struct GNUNET_PeerIdentity peer
 Peer the record is about. More...
 
uint16_t smr_id_gen
 SendMessageRequest ID generator for this peer. More...
 

Detailed Description

Information we track for each peer.

Definition at line 38 of file core_api.c.

Field Documentation

◆ h

struct GNUNET_CORE_Handle* PeerRecord::h

Corresponding CORE handle.

Definition at line 43 of file core_api.c.

Referenced by connect_peer(), core_mq_send_impl(), and disconnect_and_free_peer_entry().

◆ mq

struct GNUNET_MQ_Handle* PeerRecord::mq

◆ env

struct GNUNET_MQ_Envelope* PeerRecord::env

Message we are currently trying to pass to the CORE service for this peer (from mq).

Definition at line 54 of file core_api.c.

Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), core_mq_cancel_impl(), core_mq_send_impl(), disconnect_and_free_peer_entry(), handle_send_ready(), and typescriptdomain.TypeScriptDefinition::run().

◆ client_cls

void* PeerRecord::client_cls

Value the client returned when we connected, used as the closure in various places.

Definition at line 60 of file core_api.c.

Referenced by connect_peer(), and disconnect_and_free_peer_entry().

◆ peer

struct GNUNET_PeerIdentity PeerRecord::peer

Peer the record is about.

Definition at line 65 of file core_api.c.

Referenced by connect_peer(), core_mq_send_impl(), disconnect_and_free_peer_entry(), and handle_disconnect_notify().

◆ smr_id_gen

uint16_t PeerRecord::smr_id_gen

SendMessageRequest ID generator for this peer.

Definition at line 70 of file core_api.c.

Referenced by core_mq_send_impl(), and handle_send_ready().


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