GNUnet  0.19.3
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...
 
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...
 

Detailed Description

Context for a store request.

Definition at line 96 of file peerstore_api.c.

Field Documentation

◆ next

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_StoreContext::next

Kept in a DLL.

Definition at line 101 of file peerstore_api.c.

◆ prev

struct GNUNET_PEERSTORE_StoreContext* GNUNET_PEERSTORE_StoreContext::prev

Kept in a DLL.

Definition at line 106 of file peerstore_api.c.

◆ h

struct GNUNET_PEERSTORE_Handle* GNUNET_PEERSTORE_StoreContext::h

Handle to the PEERSTORE service.

Definition at line 111 of file peerstore_api.c.

◆ cont

GNUNET_PEERSTORE_Continuation GNUNET_PEERSTORE_StoreContext::cont

Continuation called with service response.

Definition at line 116 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store(), and store_request_sent().

◆ cont_cls

void* GNUNET_PEERSTORE_StoreContext::cont_cls

Closure for cont.

Definition at line 121 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store(), and store_request_sent().

◆ sub_system

char* GNUNET_PEERSTORE_StoreContext::sub_system

Which subsystem does the store?

Definition at line 126 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ key

char* GNUNET_PEERSTORE_StoreContext::key

Key for the store operation.

Definition at line 131 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 136 of file peerstore_api.c.

Referenced by gnunet_testing.StatisticsCondition::check(), and gnunet_testing.StatisticsCondition::evaluate().

◆ peer

◆ size

size_t GNUNET_PEERSTORE_StoreContext::size

Number of bytes in value.

Definition at line 146 of file peerstore_api.c.

◆ expiry

struct GNUNET_TIME_Absolute GNUNET_PEERSTORE_StoreContext::expiry

When does the value expire?

Definition at line 146 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ options


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