GNUnet  0.11.x
Data Fields
StoreRecordMessage Struct Reference

Message carrying a PEERSTORE record message. More...

#include </home/handbook/gnunet/src/peerstore/peerstore.h>

Collaboration diagram for StoreRecordMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 GNUnet message header. More...
 
uint16_t peer_set
 GNUNET_YES if peer id value set, GNUNET_NO otherwise More...
 
uint16_t sub_system_size
 Size of the sub_system string Allocated at position 0 after this struct. More...
 
struct GNUNET_PeerIdentity peer
 Peer Identity. More...
 
struct GNUNET_TIME_AbsoluteNBO expiry
 Expiry time of entry. More...
 
uint16_t key_size
 Size of the key string Allocated at position 1 after this struct. More...
 
uint16_t value_size
 Size of value blob Allocated at position 2 after this struct. More...
 
uint32_t options
 Options, needed only in case of a store operation. More...
 

Detailed Description

Message carrying a PEERSTORE record message.

Definition at line 36 of file peerstore.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader StoreRecordMessage::header

GNUnet message header.

Definition at line 41 of file peerstore.h.

Referenced by PEERSTORE_parse_record_message().

◆ peer_set

uint16_t StoreRecordMessage::peer_set

GNUNET_YES if peer id value set, GNUNET_NO otherwise

Definition at line 46 of file peerstore.h.

Referenced by handle_iterate(), PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ sub_system_size

uint16_t StoreRecordMessage::sub_system_size

Size of the sub_system string Allocated at position 0 after this struct.

Definition at line 52 of file peerstore.h.

Referenced by PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ peer

struct GNUNET_PeerIdentity StoreRecordMessage::peer

Peer Identity.

Definition at line 57 of file peerstore.h.

Referenced by PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ expiry

struct GNUNET_TIME_AbsoluteNBO StoreRecordMessage::expiry

Expiry time of entry.

Definition at line 62 of file peerstore.h.

Referenced by PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ key_size

uint16_t StoreRecordMessage::key_size

Size of the key string Allocated at position 1 after this struct.

Definition at line 68 of file peerstore.h.

Referenced by PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ value_size

uint16_t StoreRecordMessage::value_size

Size of value blob Allocated at position 2 after this struct.

Definition at line 74 of file peerstore.h.

Referenced by PEERSTORE_create_record_mq_envelope(), and PEERSTORE_parse_record_message().

◆ options

uint32_t StoreRecordMessage::options

Options, needed only in case of a store operation.

Definition at line 80 of file peerstore.h.

Referenced by handle_store(), and PEERSTORE_create_record_mq_envelope().


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