Entry in the hash map. More...
Data Fields | |
struct GNUNET_DATACACHE_Block | block |
Block data. More... | |
struct GNUNET_CONTAINER_HeapNode * | hn |
Corresponding node in the heap. More... | |
struct GNUNET_DHT_PathElement * | put_path |
Put path as a non-const pointer. More... | |
uint32_t | distance |
How close is the hash to us? Determines which heap we are in! More... | |
struct GNUNET_HashCode | key |
Key for the value. More... | |
const void * | data |
Pointer to the value's data (allocated at the end of this struct). More... | |
struct GNUNET_CONTAINER_HeapNode * | expire_heap |
Entry for this value in the 'expire' heap. More... | |
struct GNUNET_CONTAINER_HeapNode * | replication_heap |
Entry for this value in the 'replication' heap. More... | |
struct GNUNET_TIME_Absolute | expiration |
Expiration time for this value. More... | |
unsigned int | zero_anon_offset |
Offset of this value in the array of the 'struct ZeroAnonByType'; only used if anonymity is zero. More... | |
uint32_t | size |
Number of bytes in 'data'. More... | |
uint32_t | priority |
Priority of the value. More... | |
uint32_t | anonymity |
Anonymity level for the value. More... | |
uint32_t | replication |
Replication level for the value. More... | |
enum GNUNET_BLOCK_Type | type |
Type of 'data'. More... | |
Entry in the hash map.
A value that we are storing.
Definition at line 63 of file plugin_datacache_heap.c.
struct GNUNET_DATACACHE_Block Value::block |
Block data.
Definition at line 68 of file plugin_datacache_heap.c.
Referenced by find_closest(), get_cb(), heap_plugin_del(), heap_plugin_put(), libgnunet_plugin_datacache_heap_done(), and put_cb().
struct GNUNET_CONTAINER_HeapNode* Value::hn |
Corresponding node in the heap.
Definition at line 73 of file plugin_datacache_heap.c.
Referenced by heap_plugin_put(), and put_cb().
struct GNUNET_DHT_PathElement* Value::put_path |
Put path as a non-const pointer.
Definition at line 78 of file plugin_datacache_heap.c.
Referenced by heap_plugin_del(), heap_plugin_put(), libgnunet_plugin_datacache_heap_done(), and put_cb().
uint32_t Value::distance |
How close is the hash to us? Determines which heap we are in!
Definition at line 83 of file plugin_datacache_heap.c.
Referenced by heap_plugin_put().
struct GNUNET_HashCode Value::key |
Key for the value.
Definition at line 42 of file plugin_datastore_heap.c.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), heap_plugin_get_key(), and gnunet-chk.Chk::uri().
const void* Value::data |
Pointer to the value's data (allocated at the end of this struct).
Definition at line 47 of file plugin_datastore_heap.c.
Referenced by typescriptdomain.TypeScriptDomain::objects(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), and httpdomain.httpdomain.HTTPDomain::routes().
struct GNUNET_CONTAINER_HeapNode* Value::expire_heap |
Entry for this value in the 'expire' heap.
Definition at line 52 of file plugin_datastore_heap.c.
struct GNUNET_CONTAINER_HeapNode* Value::replication_heap |
Entry for this value in the 'replication' heap.
Definition at line 57 of file plugin_datastore_heap.c.
struct GNUNET_TIME_Absolute Value::expiration |
Expiration time for this value.
Definition at line 62 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().
unsigned int Value::zero_anon_offset |
Offset of this value in the array of the 'struct ZeroAnonByType'; only used if anonymity is zero.
Definition at line 68 of file plugin_datastore_heap.c.
Referenced by delete_value().
uint32_t Value::size |
Number of bytes in 'data'.
Definition at line 73 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().
uint32_t Value::priority |
Priority of the value.
Definition at line 78 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().
uint32_t Value::anonymity |
Anonymity level for the value.
Definition at line 83 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().
uint32_t Value::replication |
Replication level for the value.
Definition at line 88 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().
enum GNUNET_BLOCK_Type Value::type |
Type of 'data'.
Definition at line 93 of file plugin_datastore_heap.c.
Referenced by heap_plugin_get_key().