GNUnet  0.11.x
Data Fields
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.

Referenced by GNUNET_PEERSTORE_store(), and GNUNET_PEERSTORE_store_cancel().

◆ 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(), and GNUNET_PEERSTORE_store_cancel().

◆ key

char* GNUNET_PEERSTORE_StoreContext::key

◆ value

void* GNUNET_PEERSTORE_StoreContext::value

Contains size bytes.

Definition at line 136 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store(), and GNUNET_PEERSTORE_store_cancel().

◆ peer

struct GNUNET_PeerIdentity GNUNET_PEERSTORE_StoreContext::peer

Peer the store is for.

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

Referenced by GNUNET_PEERSTORE_store().

◆ expiry

struct GNUNET_TIME_Absolute GNUNET_PEERSTORE_StoreContext::expiry

When does the value expire?

Definition at line 151 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().

◆ options

enum GNUNET_PEERSTORE_StoreOption GNUNET_PEERSTORE_StoreContext::options

Options for the store operation.

Definition at line 156 of file peerstore_api.c.

Referenced by GNUNET_PEERSTORE_store().


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