GNUnet  0.11.x
Data Fields
GNUNET_DHT_ClientPutMessage Struct Reference

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

#include </home/handbook/gnunet/src/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 189 of file dht.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_DHT_ClientPutMessage::header

Type: GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT.

Definition at line 194 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 199 of file dht.h.

Referenced by GNUNET_DHT_put(), and handle_dht_local_put().

◆ options

uint32_t GNUNET_DHT_ClientPutMessage::options

Message options, actually an 'enum GNUNET_DHT_RouteOption' value.

Definition at line 204 of file dht.h.

Referenced by GNUNET_DHT_put(), and handle_dht_local_put().

◆ desired_replication_level

uint32_t GNUNET_DHT_ClientPutMessage::desired_replication_level

Replication level for this message.

Definition at line 209 of file dht.h.

Referenced by 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 214 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 219 of file dht.h.

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


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