GNUnet  0.11.x
Data Fields
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 273 of file plugin_datacache_heap.c.

Field Documentation

◆ iter

GNUNET_DATACACHE_Iterator GetContext::iter

Function to call for each result.

Definition at line 278 of file plugin_datacache_heap.c.

Referenced by get_cb(), heap_plugin_get(), and heap_plugin_get_random().

◆ iter_cls

void* GetContext::iter_cls

Closure for iter.

Definition at line 283 of file plugin_datacache_heap.c.

Referenced by get_cb(), heap_plugin_get(), and heap_plugin_get_random().

◆ cnt

unsigned int GetContext::cnt

Number of results found.

Definition at line 288 of file plugin_datacache_heap.c.

Referenced by get_cb(), heap_plugin_get(), and heap_plugin_get_random().

◆ type

enum GNUNET_BLOCK_Type GetContext::type

Block type requested.

Requested type.

Definition at line 293 of file plugin_datacache_heap.c.

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

◆ next_uid

uint64_t GetContext::next_uid

Lowest uid to consider.

Definition at line 428 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 433 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 443 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: