GNUnet 0.21.1
GNUNET_DHT_ClientPutMessage Struct Reference

Message to insert data into the DHT, sent from clients to DHT service. More...

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

Collaboration diagram for GNUNET_DHT_ClientPutMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT. More...
 
uint32_t type
 The type of data to insert. More...
 
uint32_t options
 Message options, actually an 'enum GNUNET_DHT_RouteOption' value. More...
 
uint32_t desired_replication_level
 Replication level for this message. More...
 
struct GNUNET_TIME_AbsoluteNBO expiration
 How long should this data persist? More...
 
struct GNUNET_HashCode key
 The key to store the value under. More...
 

Detailed Description

Message to insert data into the DHT, sent from clients to DHT service.

Definition at line 199 of file dht.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_DHT_ClientPutMessage::header

Type: GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT.

Definition at line 204 of file dht.h.

Referenced by handle_dht_local_put().

◆ type

uint32_t GNUNET_DHT_ClientPutMessage::type

The type of data to insert.

Definition at line 209 of file dht.h.

Referenced by GNUNET_DHT_put(), and handle_dht_local_put().

◆ options

◆ desired_replication_level

uint32_t GNUNET_DHT_ClientPutMessage::desired_replication_level

Replication level for this message.

Definition at line 219 of file dht.h.

Referenced by check_dht_local_put(), GNUNET_DHT_put(), and handle_dht_local_put().

◆ expiration

struct GNUNET_TIME_AbsoluteNBO GNUNET_DHT_ClientPutMessage::expiration

How long should this data persist?

Definition at line 224 of file dht.h.

Referenced by GNUNET_DHT_put(), and handle_dht_local_put().

◆ key

struct GNUNET_HashCode GNUNET_DHT_ClientPutMessage::key

The key to store the value under.

Definition at line 229 of file dht.h.

Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), GNUNET_DHT_put(), handle_dht_local_put(), and gnunet-chk.Chk::uri().


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