GNUnet 0.22.2
GNUNET_PEERSTORE_StoreContext Struct Reference

Context for a store request. More...

Collaboration diagram for GNUNET_PEERSTORE_StoreContext:
[legend]

Data Fields

struct GNUNET_PEERSTORE_StoreContextnext
 Kept in a DLL. More...
 
struct GNUNET_PEERSTORE_StoreContextprev
 Kept in a DLL. More...
 
struct GNUNET_PEERSTORE_Handleh
 Handle to the PEERSTORE service. More...
 
GNUNET_PEERSTORE_Continuation cont
 Continuation called with service response. More...
 
uint32_t rid
 Request ID. More...
 
void * cont_cls
 Closure for cont. More...
 
char * sub_system
 Which subsystem does the store? More...
 
char * key
 Key for the store operation. More...
 
void * value
 Contains size bytes. More...
 
struct GNUNET_PeerIdentity peer
 Peer the store is for. More...
 
size_t size
 Number of bytes in value. More...
 
struct GNUNET_TIME_Absolute expiry
 When does the value expire? More...
 
enum GNUNET_PEERSTORE_StoreOption options
 Options for the store operation. More...
 
struct GNUNET_MQ_Envelopeenv
 Temporary envelope. More...
 

Detailed Description

Context for a store request.

Definition at line 141 of file peerstore_api.c.

Field Documentation

◆ next

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_StoreContext::next

Kept in a DLL.

Definition at line 146 of file peerstore_api.c.

◆ prev

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_StoreContext::prev

Kept in a DLL.

Definition at line 151 of file peerstore_api.c.

◆ h

struct GNUNET_PEERSTORE_Handle* GNUNET_PEERSTORE_StoreContext::h

Handle to the PEERSTORE service.

Definition at line 156 of file peerstore_api.c.

◆ cont

GNUNET_PEERSTORE_Continuation GNUNET_PEERSTORE_StoreContext::cont

Continuation called with service response.

Definition at line 161 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ rid

uint32_t GNUNET_PEERSTORE_StoreContext::rid

Request ID.

Definition at line 166 of file peerstore_api.c.

◆ cont_cls

void* GNUNET_PEERSTORE_StoreContext::cont_cls

Closure for cont.

Definition at line 171 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ sub_system

char* GNUNET_PEERSTORE_StoreContext::sub_system

Which subsystem does the store?

Definition at line 176 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ key

char* GNUNET_PEERSTORE_StoreContext::key

Key for the store operation.

Definition at line 181 of file peerstore_api.c.

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

◆ value

void* GNUNET_PEERSTORE_StoreContext::value

Contains size bytes.

Definition at line 186 of file peerstore_api.c.

◆ peer

struct GNUNET_PeerIdentity GNUNET_PEERSTORE_StoreContext::peer

Peer the store is for.

Definition at line 191 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ size

size_t GNUNET_PEERSTORE_StoreContext::size

Number of bytes in value.

Definition at line 196 of file peerstore_api.c.

◆ expiry

struct GNUNET_TIME_Absolute GNUNET_PEERSTORE_StoreContext::expiry

When does the value expire?

Definition at line 201 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ options

◆ env

struct GNUNET_MQ_Envelope* GNUNET_PEERSTORE_StoreContext::env

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