GNUnet 0.21.1
GetContext Struct Reference

Closure for get_cb(). More...

Collaboration diagram for GetContext:
[legend]

Data Fields

GNUNET_DATACACHE_Iterator iter
 Function to call for each result. More...
 
void * iter_cls
 Closure for iter. More...
 
unsigned int cnt
 Number of results found. More...
 
enum GNUNET_BLOCK_Type type
 Block type requested. More...
 
uint64_t next_uid
 Lowest uid to consider. More...
 
struct Valuevalue
 Value with lowest uid >= next_uid found so far. More...
 
bool random
 If true, return a random value. More...
 

Detailed Description

Closure for get_cb().

Closure for iterator called during 'get_key'.

Definition at line 221 of file plugin_datacache_heap.c.

Field Documentation

◆ iter

GNUNET_DATACACHE_Iterator GetContext::iter

Function to call for each result.

Definition at line 226 of file plugin_datacache_heap.c.

Referenced by get_cb(), and heap_plugin_get().

◆ iter_cls

void* GetContext::iter_cls

Closure for iter.

Definition at line 231 of file plugin_datacache_heap.c.

Referenced by get_cb(), and heap_plugin_get().

◆ cnt

unsigned int GetContext::cnt

Number of results found.

Definition at line 236 of file plugin_datacache_heap.c.

Referenced by get_cb(), and heap_plugin_get().

◆ type

enum GNUNET_BLOCK_Type GetContext::type

Block type requested.

Requested type.

Definition at line 241 of file plugin_datacache_heap.c.

Referenced by get_cb(), get_iterator(), heap_plugin_get(), and heap_plugin_get_key().

◆ next_uid

uint64_t GetContext::next_uid

Lowest uid to consider.

Definition at line 429 of file plugin_datastore_heap.c.

Referenced by heap_plugin_get_key().

◆ value

struct Value* GetContext::value

Value with lowest uid >= next_uid found so far.

Definition at line 434 of file plugin_datastore_heap.c.

Referenced by get_iterator(), and heap_plugin_get_key().

◆ random

bool GetContext::random

If true, return a random value.

Definition at line 444 of file plugin_datastore_heap.c.

Referenced by get_iterator(), and heap_plugin_get_key().


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