GNUnet 0.28.1-dev.6-3-gbc381df64
 
Loading...
Searching...
No Matches
GetContext Struct Reference

Closure for get_cb(). More...

Collaboration diagram for GetContext:
[legend]

Data Fields

struct Value ** values
 Matching values, collected before they are handed to the iterator so that they can be sorted by expiration time.
 
unsigned int cnt
 Number of entries in values.
 
enum GNUNET_BLOCK_Type type
 Block type requested.
 
uint64_t next_uid
 Lowest uid to consider.
 
struct Valuevalue
 Value with lowest uid >= next_uid found so far.
 
bool random
 If true, return a random value.
 

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

◆ values

struct Value** GetContext::values

Matching values, collected before they are handed to the iterator so that they can be sorted by expiration time.

Definition at line 227 of file plugin_datacache_heap.c.

Referenced by get_cb(), and heap_plugin_get().

◆ cnt

unsigned int GetContext::cnt

Number of entries in values.

Definition at line 232 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 237 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: