GNUnet  0.18.1
GNUNET_DATACACHE_Block Struct Reference

Information about a block stored in the datacache. More...

#include <gnunet_datacache_lib.h>

Collaboration diagram for GNUNET_DATACACHE_Block:
[legend]

Data Fields

struct GNUNET_HashCode key
 Key of the block. More...
 
struct GNUNET_TIME_Absolute expiration_time
 When does the block expire? More...
 
struct GNUNET_PeerIdentity trunc_peer
 If the path was truncated, this is the peer ID at which the path was truncated. More...
 
const struct GNUNET_DHT_PathElementput_path
 PUT path taken by the block, array of peer identities. More...
 
const void * data
 Actual block data. More...
 
size_t data_size
 Number of bytes in data. More...
 
unsigned int put_path_length
 Length of the put_path array. More...
 
enum GNUNET_BLOCK_Type type
 Type of the block. More...
 
enum GNUNET_DHT_RouteOption ro
 Options for routing for the block. More...
 

Detailed Description

Information about a block stored in the datacache.

Definition at line 59 of file gnunet_datacache_lib.h.

Field Documentation

◆ key

◆ expiration_time

◆ trunc_peer

struct GNUNET_PeerIdentity GNUNET_DATACACHE_Block::trunc_peer

◆ put_path

◆ data

◆ data_size

◆ put_path_length

◆ type

◆ ro


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