Hash map with multiple values per key. More...
Data Structures | |
| struct | GNUNET_CONTAINER_multihashmap_Trampoline_ |
| struct | GNUNET_CONTAINER_multipeermap_Trampoline_ |
| struct | GNUNET_CONTAINER_multishortmap_Trampoline_ |
| struct | GNUNET_CONTAINER_multiuuidmap_Trampoline_ |
| struct | GNUNET_CONTAINER_multihashmap32_Trampoline_ |
Macros | |
| #define | GNUNET_HASHMAP_LIB_H |
| #define | GNUNET_CONTAINER_MULTIMAP_MAX_KEY_SIZE 1024 |
| Largest key size (in bytes) a map supports. | |
| #define | GNUNET_CONTAINER_MULTIMAP_CHECK_(cond) ((void) sizeof (char[(cond) ? 1 : -1])) |
| Fail to compile if cond is false. | |
| #define | GNUNET_CONTAINER_MULTIMAP_DEFINE_COMMON_(prefix, MapType, IterType, ValueType) |
| Wrappers that are the same whether the keys are passed by pointer or by value. | |
| #define | GNUNET_CONTAINER_MULTIMAP_DEFINE_PTRKEY(prefix, MapType, IterType, CbType, KeyType, ValueType) |
| Define a hash map type whose keys are passed by pointer. | |
| #define | GNUNET_CONTAINER_MULTIMAP_DEFINE_VALKEY(prefix, MapType, IterType, CbType, KeyType, ValueType) |
| Define a hash map type whose keys are passed by value, for keys of up to 8 bytes such as integers. | |
Typedefs | |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_MultiMapIteratorCallback) (void *cls, const void *key, void *value) |
| Iterator over the entries of a map with untyped keys and values. | |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_MultiHashMapIteratorCallback) (void *cls, const struct GNUNET_HashCode *key, void *value) |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_PeerMapIterator) (void *cls, const struct GNUNET_PeerIdentity *key, void *value) |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_ShortmapIterator) (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_MultiUuidmapIteratorCallback) (void *cls, const struct GNUNET_Uuid *key, void *value) |
| typedef enum GNUNET_GenericReturnValue(* | GNUNET_CONTAINER_MultiHashMapIterator32Callback) (void *cls, uint32_t key, void *value) |
Enumerations | |
| enum | GNUNET_CONTAINER_MultiHashMapOption { GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE , GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE , GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY , GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST } |
| Options for storing values in the HashMap. More... | |
| enum | GNUNET_CONTAINER_MultiMapFlags { GNUNET_CONTAINER_MULTIMAP_FLAG_NONE = 0 , GNUNET_CONTAINER_MULTIMAP_FLAG_DO_NOT_COPY_KEYS = 1 , GNUNET_CONTAINER_MULTIMAP_FLAG_UNPROTECTED = 2 } |
| Flags for GNUNET_CONTAINER_multimap_create_(). More... | |
Functions | |
| struct GNUNET_CONTAINER_MultiMap * | GNUNET_CONTAINER_multimap_create_ (unsigned int len, size_t key_size, enum GNUNET_CONTAINER_MultiMapFlags flags) |
| Create a map. | |
| void | GNUNET_CONTAINER_multimap_destroy_ (struct GNUNET_CONTAINER_MultiMap *map) |
| Destroy a map. | |
| unsigned int | GNUNET_CONTAINER_multimap_size_ (const struct GNUNET_CONTAINER_MultiMap *map) |
| Get the number of key-value pairs in a map. | |
| void * | GNUNET_CONTAINER_multimap_get_ (const struct GNUNET_CONTAINER_MultiMap *map, const void *key) |
| Get a value stored under a key. | |
| enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multimap_contains_ (const struct GNUNET_CONTAINER_MultiMap *map, const void *key) |
| Check if the map has any value stored under a key. | |
| enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multimap_contains_value_ (const struct GNUNET_CONTAINER_MultiMap *map, const void *key, const void *value) |
| Check if the map has a particular key-value pair. | |
| enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multimap_put_ (struct GNUNET_CONTAINER_MultiMap *map, const void *key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| Store a key-value pair in a map. | |
| enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multimap_remove_ (struct GNUNET_CONTAINER_MultiMap *map, const void *key, const void *value) |
| Remove a key-value pair from a map. | |
| int | GNUNET_CONTAINER_multimap_remove_all_ (struct GNUNET_CONTAINER_MultiMap *map, const void *key) |
| Remove all values stored under a key from a map. | |
| unsigned int | GNUNET_CONTAINER_multimap_clear_ (struct GNUNET_CONTAINER_MultiMap *map) |
| Remove all key-value pairs from a map. | |
| int | GNUNET_CONTAINER_multimap_iterate_ (struct GNUNET_CONTAINER_MultiMap *map, GNUNET_CONTAINER_MultiMapIteratorCallback it, void *it_cls) |
| Call a function on every key-value pair of a map. | |
| int | GNUNET_CONTAINER_multimap_get_multiple_ (struct GNUNET_CONTAINER_MultiMap *map, const void *key, GNUNET_CONTAINER_MultiMapIteratorCallback it, void *it_cls) |
| Call a function on every value stored under a key. | |
| struct GNUNET_CONTAINER_MultiMapIterator * | GNUNET_CONTAINER_multimap_iterator_create_ (const struct GNUNET_CONTAINER_MultiMap *map) |
| Create an iterator over a map. | |
| enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multimap_iterator_next_ (struct GNUNET_CONTAINER_MultiMapIterator *iter, void *key, const void **value) |
| Get the next key-value pair from an iterator. | |
| void | GNUNET_CONTAINER_multimap_iterator_destroy_ (struct GNUNET_CONTAINER_MultiMapIterator *iter) |
| Destroy an iterator. | |
| static void | GNUNET_CONTAINER_multihashmap_destroy (struct GNUNET_CONTAINER_MultiHashMap *map) |
| static unsigned int | GNUNET_CONTAINER_multihashmap_size (const struct GNUNET_CONTAINER_MultiHashMap *map) |
| static unsigned int | GNUNET_CONTAINER_multihashmap_clear (struct GNUNET_CONTAINER_MultiHashMap *map) |
| static struct GNUNET_CONTAINER_MultiHashMapIterator * | GNUNET_CONTAINER_multihashmap_iterator_create (const struct GNUNET_CONTAINER_MultiHashMap *map) |
| static void | GNUNET_CONTAINER_multihashmap_iterator_destroy (struct GNUNET_CONTAINER_MultiHashMapIterator *iter) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_iterator_next_value_ (struct GNUNET_CONTAINER_MultiHashMapIterator *iter, void *key, const void **value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_trampoline_ (void *cls, const void *key, void *value) |
| static struct GNUNET_CONTAINER_MultiHashMap * | GNUNET_CONTAINER_multihashmap_create (unsigned int len, int do_not_copy_keys) |
| static struct GNUNET_CONTAINER_MultiHashMap * | GNUNET_CONTAINER_multihashmap_create_unprotected (unsigned int len, int do_not_copy_keys) |
| static void * | GNUNET_CONTAINER_multihashmap_get (const struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_contains (const struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_contains_value (const struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key, const void *value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_put (struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_remove (struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key, const void *value) |
| static int | GNUNET_CONTAINER_multihashmap_remove_all (struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key) |
| static int | GNUNET_CONTAINER_multihashmap_iterate (struct GNUNET_CONTAINER_MultiHashMap *map, GNUNET_CONTAINER_MultiHashMapIteratorCallback it, void *it_cls) |
| static int | GNUNET_CONTAINER_multihashmap_get_multiple (struct GNUNET_CONTAINER_MultiHashMap *map, const struct GNUNET_HashCode *key, GNUNET_CONTAINER_MultiHashMapIteratorCallback it, void *it_cls) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap_iterator_next (struct GNUNET_CONTAINER_MultiHashMapIterator *iter, struct GNUNET_HashCode *key, const void **value) |
| static void | GNUNET_CONTAINER_multipeermap_destroy (struct GNUNET_CONTAINER_MultiPeerMap *map) |
| static unsigned int | GNUNET_CONTAINER_multipeermap_size (const struct GNUNET_CONTAINER_MultiPeerMap *map) |
| static unsigned int | GNUNET_CONTAINER_multipeermap_clear (struct GNUNET_CONTAINER_MultiPeerMap *map) |
| static struct GNUNET_CONTAINER_MultiPeerMapIterator * | GNUNET_CONTAINER_multipeermap_iterator_create (const struct GNUNET_CONTAINER_MultiPeerMap *map) |
| static void | GNUNET_CONTAINER_multipeermap_iterator_destroy (struct GNUNET_CONTAINER_MultiPeerMapIterator *iter) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_iterator_next_value_ (struct GNUNET_CONTAINER_MultiPeerMapIterator *iter, void *key, const void **value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_trampoline_ (void *cls, const void *key, void *value) |
| static struct GNUNET_CONTAINER_MultiPeerMap * | GNUNET_CONTAINER_multipeermap_create (unsigned int len, int do_not_copy_keys) |
| static struct GNUNET_CONTAINER_MultiPeerMap * | GNUNET_CONTAINER_multipeermap_create_unprotected (unsigned int len, int do_not_copy_keys) |
| static void * | GNUNET_CONTAINER_multipeermap_get (const struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_contains (const struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_contains_value (const struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key, const void *value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_put (struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_remove (struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key, const void *value) |
| static int | GNUNET_CONTAINER_multipeermap_remove_all (struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key) |
| static int | GNUNET_CONTAINER_multipeermap_iterate (struct GNUNET_CONTAINER_MultiPeerMap *map, GNUNET_CONTAINER_PeerMapIterator it, void *it_cls) |
| static int | GNUNET_CONTAINER_multipeermap_get_multiple (struct GNUNET_CONTAINER_MultiPeerMap *map, const struct GNUNET_PeerIdentity *key, GNUNET_CONTAINER_PeerMapIterator it, void *it_cls) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multipeermap_iterator_next (struct GNUNET_CONTAINER_MultiPeerMapIterator *iter, struct GNUNET_PeerIdentity *key, const void **value) |
| static void | GNUNET_CONTAINER_multishortmap_destroy (struct GNUNET_CONTAINER_MultiShortmap *map) |
| static unsigned int | GNUNET_CONTAINER_multishortmap_size (const struct GNUNET_CONTAINER_MultiShortmap *map) |
| static unsigned int | GNUNET_CONTAINER_multishortmap_clear (struct GNUNET_CONTAINER_MultiShortmap *map) |
| static struct GNUNET_CONTAINER_MultiShortmapIterator * | GNUNET_CONTAINER_multishortmap_iterator_create (const struct GNUNET_CONTAINER_MultiShortmap *map) |
| static void | GNUNET_CONTAINER_multishortmap_iterator_destroy (struct GNUNET_CONTAINER_MultiShortmapIterator *iter) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_iterator_next_value_ (struct GNUNET_CONTAINER_MultiShortmapIterator *iter, void *key, const void **value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_trampoline_ (void *cls, const void *key, void *value) |
| static struct GNUNET_CONTAINER_MultiShortmap * | GNUNET_CONTAINER_multishortmap_create (unsigned int len, int do_not_copy_keys) |
| static struct GNUNET_CONTAINER_MultiShortmap * | GNUNET_CONTAINER_multishortmap_create_unprotected (unsigned int len, int do_not_copy_keys) |
| static void * | GNUNET_CONTAINER_multishortmap_get (const struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_contains (const struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_contains_value (const struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key, const void *value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_put (struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_remove (struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key, const void *value) |
| static int | GNUNET_CONTAINER_multishortmap_remove_all (struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key) |
| static int | GNUNET_CONTAINER_multishortmap_iterate (struct GNUNET_CONTAINER_MultiShortmap *map, GNUNET_CONTAINER_ShortmapIterator it, void *it_cls) |
| static int | GNUNET_CONTAINER_multishortmap_get_multiple (struct GNUNET_CONTAINER_MultiShortmap *map, const struct GNUNET_ShortHashCode *key, GNUNET_CONTAINER_ShortmapIterator it, void *it_cls) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multishortmap_iterator_next (struct GNUNET_CONTAINER_MultiShortmapIterator *iter, struct GNUNET_ShortHashCode *key, const void **value) |
| static void | GNUNET_CONTAINER_multiuuidmap_destroy (struct GNUNET_CONTAINER_MultiUuidmap *map) |
| static unsigned int | GNUNET_CONTAINER_multiuuidmap_size (const struct GNUNET_CONTAINER_MultiUuidmap *map) |
| static unsigned int | GNUNET_CONTAINER_multiuuidmap_clear (struct GNUNET_CONTAINER_MultiUuidmap *map) |
| static struct GNUNET_CONTAINER_MultiUuidmapIterator * | GNUNET_CONTAINER_multiuuidmap_iterator_create (const struct GNUNET_CONTAINER_MultiUuidmap *map) |
| static void | GNUNET_CONTAINER_multiuuidmap_iterator_destroy (struct GNUNET_CONTAINER_MultiUuidmapIterator *iter) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_iterator_next_value_ (struct GNUNET_CONTAINER_MultiUuidmapIterator *iter, void *key, const void **value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_trampoline_ (void *cls, const void *key, void *value) |
| static struct GNUNET_CONTAINER_MultiUuidmap * | GNUNET_CONTAINER_multiuuidmap_create (unsigned int len, int do_not_copy_keys) |
| static struct GNUNET_CONTAINER_MultiUuidmap * | GNUNET_CONTAINER_multiuuidmap_create_unprotected (unsigned int len, int do_not_copy_keys) |
| static void * | GNUNET_CONTAINER_multiuuidmap_get (const struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_contains (const struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_contains_value (const struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key, const void *value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_put (struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_remove (struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key, const void *value) |
| static int | GNUNET_CONTAINER_multiuuidmap_remove_all (struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key) |
| static int | GNUNET_CONTAINER_multiuuidmap_iterate (struct GNUNET_CONTAINER_MultiUuidmap *map, GNUNET_CONTAINER_MultiUuidmapIteratorCallback it, void *it_cls) |
| static int | GNUNET_CONTAINER_multiuuidmap_get_multiple (struct GNUNET_CONTAINER_MultiUuidmap *map, const struct GNUNET_Uuid *key, GNUNET_CONTAINER_MultiUuidmapIteratorCallback it, void *it_cls) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multiuuidmap_iterator_next (struct GNUNET_CONTAINER_MultiUuidmapIterator *iter, struct GNUNET_Uuid *key, const void **value) |
| static void | GNUNET_CONTAINER_multihashmap32_destroy (struct GNUNET_CONTAINER_MultiHashMap32 *map) |
| static unsigned int | GNUNET_CONTAINER_multihashmap32_size (const struct GNUNET_CONTAINER_MultiHashMap32 *map) |
| static unsigned int | GNUNET_CONTAINER_multihashmap32_clear (struct GNUNET_CONTAINER_MultiHashMap32 *map) |
| static struct GNUNET_CONTAINER_MultiHashMap32Iterator * | GNUNET_CONTAINER_multihashmap32_iterator_create (const struct GNUNET_CONTAINER_MultiHashMap32 *map) |
| static void | GNUNET_CONTAINER_multihashmap32_iterator_destroy (struct GNUNET_CONTAINER_MultiHashMap32Iterator *iter) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_iterator_next_value_ (struct GNUNET_CONTAINER_MultiHashMap32Iterator *iter, void *key, const void **value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_trampoline_ (void *cls, const void *key, void *value) |
| static struct GNUNET_CONTAINER_MultiHashMap32 * | GNUNET_CONTAINER_multihashmap32_create (unsigned int len) |
| static struct GNUNET_CONTAINER_MultiHashMap32 * | GNUNET_CONTAINER_multihashmap32_create_unprotected (unsigned int len) |
| static void * | GNUNET_CONTAINER_multihashmap32_get (const struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_contains (const struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_contains_value (const struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key, const void *value) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_put (struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key, void *value, enum GNUNET_CONTAINER_MultiHashMapOption opt) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_remove (struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key, const void *value) |
| static int | GNUNET_CONTAINER_multihashmap32_remove_all (struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key) |
| static int | GNUNET_CONTAINER_multihashmap32_iterate (struct GNUNET_CONTAINER_MultiHashMap32 *map, GNUNET_CONTAINER_MultiHashMapIterator32Callback it, void *it_cls) |
| static int | GNUNET_CONTAINER_multihashmap32_get_multiple (struct GNUNET_CONTAINER_MultiHashMap32 *map, uint32_t key, GNUNET_CONTAINER_MultiHashMapIterator32Callback it, void *it_cls) |
| static enum GNUNET_GenericReturnValue | GNUNET_CONTAINER_multihashmap32_iterator_next (struct GNUNET_CONTAINER_MultiHashMap32Iterator *iter, uint32_t *key, const void **value) |
Hash map with multiple values per key.
All hash maps in GNUnet share one implementation: a chained hash table for keys of a fixed size, chosen when the map is created, where the same key may be stored with several values.
How a key is stored depends on its size:
The map never frees or copies values; they are opaque pointers.
Maps are protected against hash flooding: the bucket of a key is chosen by SipHash under a random key of the map, so that whoever chooses keys (another peer, say) cannot make many of them land in the same bucket and turn lookups into linear scans. Where no one but the local peer chooses the keys and speed matters, a map can be created without that protection, see GNUNET_CONTAINER_MULTIMAP_FLAG_UNPROTECTED.
The implementation (the GNUNET_CONTAINER_multimap_*_() functions declared here) works on untyped keys and values. Code should not call it directly, but use typed wrappers instead, which GNUNET_CONTAINER_MULTIMAP_DEFINE_PTRKEY (for keys passed by pointer) and GNUNET_CONTAINER_MULTIMAP_DEFINE_VALKEY (for keys of up to 8 bytes passed by value, such as integers) generate as static inline functions. The classic maps #GNUNET_CONTAINER_MultiHashMap, #GNUNET_CONTAINER_MultiPeerMap, #GNUNET_CONTAINER_MultiShortmap, #GNUNET_CONTAINER_MultiUuidmap and #GNUNET_CONTAINER_MultiHashMap32 are defined that way at the end of this file, and an application can define its own maps the same way, for example to get a map whose values have a proper type instead of void *.
Iteration order is unspecified and changes as the map grows.
| #define GNUNET_HASHMAP_LIB_H |
Definition at line 79 of file gnunet_hashmap_lib.h.
| #define GNUNET_CONTAINER_MULTIMAP_MAX_KEY_SIZE 1024 |
Largest key size (in bytes) a map supports.
Definition at line 138 of file gnunet_hashmap_lib.h.
| #define GNUNET_CONTAINER_MULTIMAP_CHECK_ | ( | cond | ) | ((void) sizeof (char[(cond) ? 1 : -1])) |
Fail to compile if cond is false.
Unlike GNUNET_static_assert, this is an expression, valid in C and C++.
| cond | integer constant expression that must be true |
Definition at line 441 of file gnunet_hashmap_lib.h.
| #define GNUNET_CONTAINER_MULTIMAP_DEFINE_COMMON_ | ( | prefix, | |
| MapType, | |||
| IterType, | |||
| ValueType | |||
| ) |
Wrappers that are the same whether the keys are passed by pointer or by value.
Used by GNUNET_CONTAINER_MULTIMAP_DEFINE_PTRKEY and GNUNET_CONTAINER_MULTIMAP_DEFINE_VALKEY.
Definition at line 454 of file gnunet_hashmap_lib.h.
| #define GNUNET_CONTAINER_MULTIMAP_DEFINE_PTRKEY | ( | prefix, | |
| MapType, | |||
| IterType, | |||
| CbType, | |||
| KeyType, | |||
| ValueType | |||
| ) |
Define a hash map type whose keys are passed by pointer.
Declares struct MapType (the map), struct IterType (an iterator over it) and the callback type
typedef enum GNUNET_GenericReturnValue (*CbType)(void *cls, const KeyType *key, ValueType *value);
and defines the following static inline functions:
struct MapType *prefix_create (unsigned int len, int do_not_copy_keys) creates a map with len buckets to start with (it grows as needed). If do_not_copy_keys is true and keys are longer than 8 bytes, the map only keeps a pointer to each key, which must then stay valid as long as the entry is in the map; see GNUNET_CONTAINER_MULTIMAP_FLAG_DO_NOT_COPY_KEYS. GNUNET_NO is always safe. Returns NULL on error.struct MapType *prefix_create_unprotected (unsigned int len, int do_not_copy_keys) creates a map without protection against hash flooding; see GNUNET_CONTAINER_MULTIMAP_FLAG_UNPROTECTED for when that is acceptable.void prefix_destroy (struct MapType *map); does not free the values.unsigned int prefix_size (const struct MapType *map)ValueType *prefix_get (const struct MapType *map, const KeyType *key) returns a value stored under key (which one, if there are several, is unspecified), or NULL.enum GNUNET_GenericReturnValue prefix_contains (map, key) and prefix_contains_value (map, key, const ValueType *value) return GNUNET_YES or GNUNET_NO.enum GNUNET_GenericReturnValue prefix_put (map, key, ValueType *value, enum GNUNET_CONTAINER_MultiHashMapOption opt); see GNUNET_CONTAINER_multimap_put_() for the return values.enum GNUNET_GenericReturnValue prefix_remove (map, key, const ValueType *value) removes one key-value pair; returns GNUNET_YES if it was found, GNUNET_NO if not.int prefix_remove_all (map, key) removes all values stored under key and returns how many there were.unsigned int prefix_clear (struct MapType *map) removes all entries and returns how many there were.int prefix_iterate (map, CbType it, void *it_cls) and int prefix_get_multiple (map, key, CbType it, void *it_cls) call it (which can be NULL) on every entry, or every entry with the given key, and return the number of entries visited, or GNUNET_SYSERR if it returned anything but GNUNET_OK. it may remove entries, including the current one. For prefix_get_multiple(), it gets the key pointer passed in; for prefix_iterate(), the key is only valid during the call, unless the map does not copy its keys.struct IterType *prefix_iterator_create (const struct MapType *map), enum GNUNET_GenericReturnValue prefix_iterator_next ( struct IterType *iter, KeyType *key, const ValueType **value) (copies the next key-value pair to key and value, either of which can be NULL, and returns GNUNET_YES, or GNUNET_NO at the end) and void prefix_iterator_destroy (struct IterType *iter) iterate without callbacks. The map must not be modified destructively while an iterator is in use.where map is a struct MapType * (const for the lookups) and key a const KeyType *. Callbacks go through a trampoline, so no function pointer is ever cast to an incompatible type.
| prefix | prefix for the function names, e.g. GNUNET_CONTAINER_multihashmap |
| MapType | tag of the map struct (without struct) |
| IterType | tag of the iterator struct (without struct) |
| CbType | name to give the callback type |
| KeyType | type of the keys (with struct if it is one); its size must not exceed GNUNET_CONTAINER_MULTIMAP_MAX_KEY_SIZE and its alignment must not exceed 8 |
| ValueType | type the values point to, void for untyped values |
Definition at line 589 of file gnunet_hashmap_lib.h.
| #define GNUNET_CONTAINER_MULTIMAP_DEFINE_VALKEY | ( | prefix, | |
| MapType, | |||
| IterType, | |||
| CbType, | |||
| KeyType, | |||
| ValueType | |||
| ) |
Define a hash map type whose keys are passed by value, for keys of up to 8 bytes such as integers.
Generates the same declarations and functions as GNUNET_CONTAINER_MULTIMAP_DEFINE_PTRKEY, except that
KeyType key instead of const KeyType *key, also to the callbacks, whose type is typedef enum GNUNET_GenericReturnValue (*CbType)(void *cls, KeyType key, ValueType *value);
prefix_iterator_next() still takes a KeyType * to store the key in, andprefix_create (unsigned int len) and prefix_create_unprotected (unsigned int len) have no "do_not_copy_keys" argument, as keys of up to 8 bytes are always stored in the entry.| prefix | prefix for the function names, e.g. GNUNET_CONTAINER_multihashmap32 |
| MapType | tag of the map struct (without struct) |
| IterType | tag of the iterator struct (without struct) |
| CbType | name to give the callback type |
| KeyType | type of the keys, at most 8 bytes, such as uint32_t |
| ValueType | type the values point to, void for untyped values |
Definition at line 784 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_MultiMapIteratorCallback) (void *cls, const void *key, void *value) |
Iterator over the entries of a map with untyped keys and values.
| cls | closure |
| key | the key of the entry; only valid during the call, except that for maps that do not copy their keys this is the pointer that was given to the map with the entry |
| value | value of the entry |
Definition at line 1 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_MultiHashMapIteratorCallback) (void *cls, const struct GNUNET_HashCode *key, void *value) |
Definition at line 959 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_PeerMapIterator) (void *cls, const struct GNUNET_PeerIdentity *key, void *value) |
Definition at line 975 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_ShortmapIterator) (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
Definition at line 991 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_MultiUuidmapIteratorCallback) (void *cls, const struct GNUNET_Uuid *key, void *value) |
Definition at line 1007 of file gnunet_hashmap_lib.h.
| typedef enum GNUNET_GenericReturnValue(* GNUNET_CONTAINER_MultiHashMapIterator32Callback) (void *cls, uint32_t key, void *value) |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Options for storing values in the HashMap.
| Enumerator | |
|---|---|
| GNUNET_CONTAINER_MULTIHASHMAPOPTION_REPLACE | If a value with the given key exists, replace it. Note that the old value would NOT be freed by replace (the application has to make sure that this happens if required). |
| GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE | Allow multiple values with the same key. |
| GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY | There must only be one value per key; storing a value should fail if a value under the same key already exists. |
| GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST | , ' bother checking if a value already exists (faster than GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY; implemented just like GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE but this option documents better what is intended if GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY is what is desired). |
Definition at line 96 of file gnunet_hashmap_lib.h.
Flags for GNUNET_CONTAINER_multimap_create_().
Definition at line 145 of file gnunet_hashmap_lib.h.
| struct GNUNET_CONTAINER_MultiMap * GNUNET_CONTAINER_multimap_create_ | ( | unsigned int | len, |
| size_t | key_size, | ||
| enum GNUNET_CONTAINER_MultiMapFlags | flags | ||
| ) |
Create a map.
Use the typed create function of a map instead.
| len | initial number of buckets; the map grows as needed |
| key_size | size of the keys in bytes, from 1 to GNUNET_CONTAINER_MULTIMAP_MAX_KEY_SIZE |
| flags | how to store keys |
Definition at line 540 of file container_multimap.c.
References allocate_buckets(), GNUNET_assert, GNUNET_CONTAINER_MULTIMAP_FLAG_DO_NOT_COPY_KEYS, GNUNET_CONTAINER_MULTIMAP_FLAG_UNPROTECTED, GNUNET_CONTAINER_MULTIMAP_MAX_KEY_SIZE, GNUNET_CRYPTO_random_block(), GNUNET_ERROR_TYPE_WARNING, GNUNET_free, GNUNET_new, GNUNET_CONTAINER_MultiMap::key_size, KS_BORROWED, KS_INLINE_COPY, KS_INLINE_VALUE, LOG, map, GNUNET_CONTAINER_MultiMap::map_length, MAX_MAP_LENGTH, and MIN_MAP_LENGTH.
| void GNUNET_CONTAINER_multimap_destroy_ | ( | struct GNUNET_CONTAINER_MultiMap * | map | ) |
Destroy a map.
Does not free the values. Must not be called while the map is being iterated over.
| [in] | map | the map to destroy |
Definition at line 609 of file container_multimap.c.
References free_entries(), GNUNET_assert, GNUNET_free, and map.
| unsigned int GNUNET_CONTAINER_multimap_size_ | ( | const struct GNUNET_CONTAINER_MultiMap * | map | ) |
Get the number of key-value pairs in a map.
| map | the map |
Definition at line 619 of file container_multimap.c.
References map.
| void * GNUNET_CONTAINER_multimap_get_ | ( | const struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key | ||
| ) |
Get a value stored under a key.
If there are several, which one is returned is unspecified.
| map | the map |
| key | the key to look for |
Definition at line 626 of file container_multimap.c.
References bucket_of(), key, keys_equal(), lookup_word(), map, and MapEntry::next.
| enum GNUNET_GenericReturnValue GNUNET_CONTAINER_multimap_contains_ | ( | const struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key | ||
| ) |
Check if the map has any value stored under a key.
| map | the map |
| key | the key to look for |
Definition at line 641 of file container_multimap.c.
References bucket_of(), GNUNET_NO, GNUNET_YES, key, keys_equal(), lookup_word(), map, and MapEntry::next.
| enum GNUNET_GenericReturnValue GNUNET_CONTAINER_multimap_contains_value_ | ( | const struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key, | ||
| const void * | value | ||
| ) |
Check if the map has a particular key-value pair.
| map | the map |
| key | the key to look for |
| value | the value to look for |
Definition at line 657 of file container_multimap.c.
References bucket_of(), GNUNET_NO, GNUNET_YES, key, keys_equal(), lookup_word(), map, MapEntry::next, and value.
| enum GNUNET_GenericReturnValue GNUNET_CONTAINER_multimap_put_ | ( | struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key, | ||
| void * | value, | ||
| enum GNUNET_CONTAINER_MultiHashMapOption | opt | ||
| ) |
Store a key-value pair in a map.
| map | the map |
| key | the key to use |
| value | the value to store |
| opt | what to do if the key is already in the map |
Definition at line 847 of file container_multimap.c.
References bucket_of(), GNUNET_assert, GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY, GNUNET_malloc, GNUNET_new, GNUNET_NO, GNUNET_OK, GNUNET_SYSERR, grow(), MapEntry::k, key, MapEntry::key_copy, keys_equal(), KS_BORROWED, KS_INLINE_COPY, KS_INLINE_VALUE, lookup_word(), map, MapEntry::next, MapEntry::ptr, MapEntry::u64, value, and MapEntry::value.
| enum GNUNET_GenericReturnValue GNUNET_CONTAINER_multimap_remove_ | ( | struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key, | ||
| const void * | value | ||
| ) |
Remove a key-value pair from a map.
| map | the map |
| key | the key of the pair |
| value | the value of the pair |
Definition at line 731 of file container_multimap.c.
References bucket_of(), GNUNET_free, GNUNET_NO, GNUNET_YES, key, keys_equal(), lookup_word(), map, MapEntry::next, update_next_cache(), value, and MapEntry::value.
| int GNUNET_CONTAINER_multimap_remove_all_ | ( | struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key | ||
| ) |
Remove all values stored under a key from a map.
| map | the map |
| key | the key to remove |
Definition at line 760 of file container_multimap.c.
References bucket_of(), GNUNET_free, key, keys_equal(), lookup_word(), map, MapEntry::next, ret, and update_next_cache().
| unsigned int GNUNET_CONTAINER_multimap_clear_ | ( | struct GNUNET_CONTAINER_MultiMap * | map | ) |
Remove all key-value pairs from a map.
Does not free the values.
| map | the map |
Definition at line 789 of file container_multimap.c.
References free_entries(), map, and ret.
| int GNUNET_CONTAINER_multimap_iterate_ | ( | struct GNUNET_CONTAINER_MultiMap * | map, |
| GNUNET_CONTAINER_MultiMapIteratorCallback | it, | ||
| void * | it_cls | ||
| ) |
Call a function on every key-value pair of a map.
it may remove entries from the map, including the current one.
| map | the map |
| it | function to call on each entry, can be NULL |
| it_cls | closure for it |
Definition at line 675 of file container_multimap.c.
References callback_key(), GNUNET_assert, GNUNET_OK, GNUNET_SYSERR, KEY_WORDS, map, MapEntry::next, NEXT_CACHE_SIZE, and MapEntry::value.
| int GNUNET_CONTAINER_multimap_get_multiple_ | ( | struct GNUNET_CONTAINER_MultiMap * | map, |
| const void * | key, | ||
| GNUNET_CONTAINER_MultiMapIteratorCallback | it, | ||
| void * | it_cls | ||
| ) |
Call a function on every value stored under a key.
it may remove entries from the map, including the current one, and may call this function again (up to a small nesting depth).
| map | the map |
| key | the key to look for; it is called with this pointer |
| it | function to call on each matching entry, can be NULL |
| it_cls | closure for it |
Definition at line 904 of file container_multimap.c.
References bucket_of(), GNUNET_assert, GNUNET_OK, GNUNET_SYSERR, key, keys_equal(), lookup_word(), map, MapEntry::next, NEXT_CACHE_SIZE, and MapEntry::value.
| struct GNUNET_CONTAINER_MultiMapIterator * GNUNET_CONTAINER_multimap_iterator_create_ | ( | const struct GNUNET_CONTAINER_MultiMap * | map | ) |
Create an iterator over a map.
The map must not be modified destructively (by a removal, or by an insertion that makes it grow) while the iterator is in use.
| map | the map to iterate over |
Definition at line 940 of file container_multimap.c.
References GNUNET_new, GNUNET_CONTAINER_MultiMapIterator::map, map, GNUNET_CONTAINER_MultiMapIterator::me, and GNUNET_CONTAINER_MultiMapIterator::modification_counter.
| enum GNUNET_GenericReturnValue GNUNET_CONTAINER_multimap_iterator_next_ | ( | struct GNUNET_CONTAINER_MultiMapIterator * | iter, |
| void * | key, | ||
| const void ** | value | ||
| ) |
Get the next key-value pair from an iterator.
| iter | the iterator | |
| [out] | key | set to a copy of the key of the entry, can be NULL |
| [out] | value | set to the value of the entry, can be NULL |
Definition at line 954 of file container_multimap.c.
References entry_key(), GNUNET_assert, GNUNET_NO, GNUNET_YES, GNUNET_CONTAINER_MultiMapIterator::idx, key, GNUNET_CONTAINER_MultiMapIterator::map, map, GNUNET_CONTAINER_MultiMapIterator::me, GNUNET_CONTAINER_MultiMapIterator::modification_counter, MapEntry::next, value, and MapEntry::value.
| void GNUNET_CONTAINER_multimap_iterator_destroy_ | ( | struct GNUNET_CONTAINER_MultiMapIterator * | iter | ) |
Destroy an iterator.
| [in] | iter | the iterator to destroy |
Definition at line 988 of file container_multimap.c.
References GNUNET_free.
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by __attribute__(), _GSS_operation_destroy(), _GSS_operation_destroy(), cancel_room_actions_by(), check_member_session_completion(), check_unique(), cleanup(), cleanup(), cleanup_handle(), clear_contact_store(), clear_message_store(), clear_operation_store(), client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), close_all_files(), connection_destroy(), database_shutdown(), database_shutdown(), destroy_contact(), destroy_epoch(), destroy_epoch_announcement(), destroy_epoch_membership(), destroy_handle(), destroy_member(), destroy_member_session(), destroy_room(), destroy_service(), destroy_service_session(), destroy_service_session(), destroy_service_session(), destroy_service_session(), destroy_srv_handle(), destroy_srv_room(), DHTU_ip_done(), disconnect(), disconnect_cb(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), fail_intersection_operation(), fail_intersection_operation(), finish_test(), free_download_context(), free_search_context(), free_update_information_graph(), GDS_ROUTING_done(), GNUNET_CADET_disconnect(), GNUNET_DHT_disconnect(), GNUNET_FS_download_signal_suspend_(), GNUNET_FS_download_stop(), GNUNET_FS_indexing_done(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_stop(), GNUNET_FS_share_tree_trim(), GNUNET_IDENTITY_disconnect(), GSF_peer_disconnect_handler(), GSF_pending_request_done_(), GSF_plan_notify_peer_disconnect_(), intersection_op_cancel(), is_epoch_member_in_room(), iterate_forward_members(), iterate_zones(), libgnunet_plugin_datacache_heap_done(), libgnunet_plugin_datastore_heap_done(), main(), print_finish(), REGEX_INTERNAL_iterate_reachable_edges(), REGEX_INTERNAL_search_cancel(), REST_openid_done(), search_start(), send_message_join(), shutdown_hook(), shutdown_rest(), shutdown_task(), stop_service_run(), and union_op_cancel().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by __attribute__(), boot_queue(), boot_queue(), cb_intersection_element_removed(), cb_intersection_element_removed(), check_alices_cryptodata_message(), check_alices_cryptodata_message(), check_union_p2p_elements(), check_union_p2p_elements(), close_service_room(), close_srv_handle_room(), connection_destroy(), create_receiver(), create_target(), disconnect(), disconnect_cb(), entry_service_room(), free_validation_state(), GDS_CLIENTS_retry_requests(), GDS_ROUTING_done(), GNUNET_DHT_disconnect(), GSF_cadet_query_cancel(), handle_alices_cryptodata_message(), handle_alices_cryptodata_message(), handle_client_accept(), handle_client_iterate(), handle_client_redirect_to_ip(), handle_client_redirect_to_service(), handle_intersection_p2p_done(), handle_intersection_p2p_done(), handle_union_p2p_request_full(), handle_union_p2p_send_full(), handle_union_p2p_strata_estimator(), handle_validation_response(), initialize_key_to_element(), initialize_key_to_element(), iterate_zones(), maybe_finish(), maybe_finish(), mq_init(), mq_init(), open_service_room(), peer_destroy(), process_bf(), process_bf(), process_ksk_result(), queue_destroy(), queue_destroy(), receiver_destroy(), route_packet(), run(), run(), save_state(), schedule_transmit_search_request(), send_alices_cryptodata_message(), send_alices_cryptodata_message(), send_message_join(), sender_destroy(), setup_sender(), solve_srv_room_member_collisions(), switch_member_session(), transmit_cryptographic_reply(), traverse_epoch_message(), union_accept(), and validation_transmit_on_queue().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by handle_room_request_task(), reset_epoch_size(), and task_notify_srv_handle_member_id().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by apply_diff_to_rfn(), get_epoch_membership_member_hash(), get_epoch_membership_member_position(), handle_client_iterate(), handle_intersection_p2p_done(), handle_intersection_p2p_done(), process_bf(), process_bf(), propose_epoch_group(), task_start_apply_round(), task_start_eval_echo(), and task_start_grade().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by _GSS_operation_destroy(), apply_diff_to_rfn(), client_disconnect_cb(), get_epoch_membership_member_hash(), get_epoch_membership_member_position(), handle_client_iter_ack(), intersection_op_cancel(), propose_epoch_group(), send_client_element(), send_remaining_elements(), send_remaining_elements(), task_start_apply_round(), task_start_eval_echo(), and task_start_grade().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by cancel_room_actions_by(), check_member_session_completion(), check_unique(), connection_init(), create_contact(), create_download_context(), create_epoch(), create_epoch_announcement(), create_epoch_membership(), create_handle(), create_member(), create_member_session(), create_response(), create_room(), create_service(), create_srv_handle(), create_srv_room(), database_setup(), database_setup(), deserialize_download(), deserialize_search(), DHTU_ip_init(), diff_create(), GDS_CLIENTS_init(), GDS_ROUTING_init(), get_cadet(), get_file_handle(), GNUNET_CADET_connect(), GNUNET_DHT_connect(), GNUNET_FS_indexing_init(), GNUNET_FS_namespace_list_updateable(), GNUNET_FS_search_start_searching_(), GNUNET_FS_share_tree_trim(), GNUNET_IDENTITY_connect(), GSF_peer_connect_handler(), GSF_pending_request_init_(), GSF_plan_add_(), handle_alice_client_message(), handle_alice_client_message(), handle_bob_client_message(), handle_bob_client_message(), handle_client_accept(), handle_client_accept(), handle_client_create_set(), handle_client_create_set(), handle_client_create_set(), handle_client_evaluate(), handle_client_evaluate(), handle_client_join(), handle_port_open(), init_contact_store(), init_message_store(), init_operation_store(), init_socket(), init_socket(), intersection_accept(), intersection_evaluate(), is_epoch_member_in_room(), iterate_forward_members(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datastore_heap_init(), mq_init(), REGEX_INTERNAL_iterate_reachable_edges(), REGEX_INTERNAL_search(), REST_openid_process_request(), rfn_create(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), run(), search_start(), send_full_set(), send_message_join(), setup_is(), start_service_run(), switch_member_session(), union_accept(), and union_evaluate().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by add_file(), add_to_keyword_counter(), add_to_meta_counter(), callback_room_message(), cancel_store_operation(), cb_intersection_element_removed(), cb_intersection_element_removed(), cb_intersection_element_removed(), cb_intersection_element_removed(), change_srv_handle_member_id(), check_and_remove_pending_reversal(), check_and_remove_pending_reversal(), check_member_session_history(), close_service_room(), code_redirect(), collector(), consume_fail(), consume_ticket(), cookie_identity_interpretation(), create_receiver(), create_response(), delete_store_message(), diff_insert(), ego_sign_data(), execute_add(), execute_remove(), find_port(), find_stream(), find_target(), GCCH_channel_incoming_new(), GCCH_channel_local_new(), get_contact_encryption_key(), get_file_handle(), get_gns_cont(), get_handle_contact(), get_handle_room(), get_member_session(), get_redirect_state(), get_room_epoch(), get_room_epoch_hash(), get_room_message(), get_room_message_epoch(), get_room_message_epoch_identifier(), get_room_recipient(), get_room_sender(), get_service_room(), get_srv_handle_member_id(), get_store_contact(), get_store_contact_raw(), get_store_message(), get_store_message_epoch(), get_store_message_link(), get_store_operation_type(), get_url_parameter_copy(), GNUNET_FS_add_to_index(), GNUNET_FS_handle_on_demand_block(), GNUNET_TESTING_interpreter_get_command(), handle_access_message(), handle_appeal_message(), handle_authorization_message(), handle_client_set_add(), handle_client_set_add(), handle_identity_update(), handle_port_close(), handle_room_delayed_action(), handle_room_delayed_appeal(), handle_room_delayed_deletion(), handle_room_message(), handle_transcript_message(), handle_union_p2p_demand(), handle_union_p2p_demand(), handle_union_p2p_offer(), handle_union_p2p_offer(), is_epoch_sender_in_room(), is_message_in_message_control_flow(), is_room_message_sent(), join_room_run(), login_cont(), lookup_diff(), lookup_rfn(), lookup_set(), lookup_task(), mark_as_reachable(), message_token(), mq_init(), mq_init(), mq_init(), mq_init(), namecache_lookup_block(), namestore_flat_lookup_records(), namestore_get(), notify_srv_handle_member_id(), ns_lookup_result_cb(), on_message_cb(), parse_credentials_basic_auth(), parse_credentials_post_body(), pending_reversal_timeout(), post_data_iter(), put_store_message(), queue_destroy(), queue_destroy(), remove_high_frequency_keywords(), remove_stream(), rfn_vote(), route_packet(), set_contact_encryption_key(), setup_sender(), sock_read(), sock_read(), token_endpoint(), traverse_epoch_session_message(), update_message_control_flow(), update_room_message(), update_room_secret_message(), use_store_operation(), and userinfo_endpoint().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by allocate_v4_address(), allocate_v6_address(), build_authz_response(), callback_srv_room_message_signed(), cancel_room_action(), check_member_session_completion(), check_member_session_history(), code_redirect(), collector(), confirm_epoch_membership_announcment(), contains_store_message(), cookie_identity_interpretation(), delay_epoch_message_for_its_members(), ego_get_all(), ego_get_response(), ego_sign_data(), forward_about_members(), free_validation_state(), get_gns_cont(), get_url_parameter_copy(), handle_epoch_announcement_message(), handle_query_message(), handle_union_p2p_offer(), handle_union_p2p_offer(), handle_validation_response(), is_epoch_member_in_room_graph(), is_epoch_membership_member(), is_srv_handle_routing(), iterate_epoch_session_members(), iterate_save_epochs(), iterate_save_messages(), load_message_store_entries(), load_message_store_epochs(), load_message_store_links(), merge_srv_handle_room_to_sync(), mq_init(), mq_init(), namestore_get(), notify_about_members(), notify_srv_handle_message(), parse_credentials_basic_auth(), parse_credentials_post_body(), publicize_rm(), put_store_message(), put_store_message_epoch(), regex_found(), regex_next_edge(), revoke_epoch_membership_announcement(), run(), run(), send_epoch_announcement_access(), send_epoch_announcement_appeal(), set_contact_encryption_key(), sign_srv_room_message(), traverse_epoch_session_message(), userinfo_endpoint(), and validation_transmit_on_queue().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by plan(), and schedule_block_download().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by add_link(), add_member_session(), add_to_keyword_counter(), add_to_meta_counter(), boot_queue(), boot_queue(), callback_scan_for_operations(), change_srv_handle_member_id(), check_member_session_completion(), check_unique(), collector(), confirm_epoch_membership_announcment(), create_handle_member_id(), create_randomized_element_iterator(), create_receiver(), create_stream(), database_setup(), database_setup(), decode_and_send(), delay_epoch_message_for_its_members(), delay_room_action(), deserialize_search_result(), dht_get_string_handler(), diff_insert(), entry_service_room(), execute_add(), filtered_map_initialization(), filtered_map_initialization(), find_target(), forward_about_members(), GCCH_channel_incoming_new(), GCCH_channel_local_new(), GDS_ROUTING_add(), get_file_handle(), get_handle_room(), get_room_epoch(), get_store_contact(), get_store_message(), GNUNET_CADET_open_port(), GNUNET_DHT_get_start(), GNUNET_FS_add_to_index(), GNUNET_FS_namespace_list_updateable(), GNUNET_TESTING_interpreter_run_cmd_(), GSF_pending_request_create_(), GSF_plan_add_(), handle_alice_client_message(), handle_alice_client_message(), handle_alice_client_message_multipart(), handle_alice_client_message_multipart(), handle_bob_client_message(), handle_bob_client_message(), handle_bob_client_message_multipart(), handle_bob_client_message_multipart(), handle_client_redirect_to_ip(), handle_client_redirect_to_service(), handle_client_set_add(), handle_client_set_add(), handle_dht_local_get(), handle_epoch_announcement_message(), handle_identity_update(), handle_p2p_get(), handle_port_open(), handle_room_message(), handle_transcript_message(), handle_union_p2p_inquiry(), handle_union_p2p_offer(), handle_union_p2p_offer(), handle_validation_response(), header_iterator(), heap_plugin_put(), heap_plugin_put(), init_socket(), init_socket(), initialize_map_unfiltered(), initialize_map_unfiltered(), is_epoch_member_in_room_graph(), it_update_epoch_member(), iterate_cancel_action_by(), iterate_copy_history(), iterate_epoch_session_members(), iterate_save_messages(), join_room_run(), link_room_message(), load_member_session_history(), load_message_store_entries(), load_message_store_epochs(), load_message_store_links(), load_state(), login_cont(), maint_child_death(), mq_init(), mq_init(), mq_init(), mq_init(), namecache_cache_block(), namestore_flat_store_records(), notify_about_members(), notify_srv_handle_member_id(), open_service_room(), open_srv_handle_room(), post_data_iter(), process_ksk_result(), process_sks_result(), publicize_rm(), put_diff(), put_rfn(), put_set(), put_store_message(), put_store_message_epoch(), put_task(), queue(), read_index_list(), regex_find_path(), regex_found(), REGEX_INTERNAL_search(), regex_next_edge(), register_hashcode(), register_hashcode(), require_message_from_room(), rfn_vote(), route_packet(), run(), run(), run(), schedule_block_download(), server_read_pkt(), set_contact_encryption_key(), setup_sender(), setup_state_record(), sign_srv_room_message(), sock_read(), store_all_states(), store_service(), sync_srv_handle_room(), token_endpoint(), transmit_pending(), traverse_epoch_session_message(), update_member_chain_history(), update_message_control_flow(), update_sre_result_maps(), update_store_contact(), url_iterator(), and use_store_operation().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by add_file(), bind_loose_channel(), callback_srv_room_sign_result(), cancel_store_operation(), cb_intersection_element_removed(), cb_intersection_element_removed(), cb_intersection_element_removed(), cb_intersection_element_removed(), clean_channel(), clean_request(), client_release_ports(), close_handle_room(), close_service_room(), connection_destroy(), consume_fail(), consume_ticket(), create_target(), delete_linked_hash(), delete_store_message(), delete_value(), expire_oldest_entry(), filter_all(), filter_all(), free_channel_state(), free_destination_entry(), free_ego(), free_pending_request(), free_service_record(), free_validation_state(), get_store_message(), GNUNET_CADET_close_port(), GNUNET_DHT_get_stop(), GNUNET_FS_indexing_do_unindex(), GNUNET_FS_indexing_done(), GSC_drop_loose_channel(), GSF_cadet_query_cancel(), GSF_plan_notify_peer_disconnect_(), GSF_plan_notify_request_done_(), handle_identity_update(), handle_port_close(), handle_room_action_task(), handle_room_delayed_deletion(), handle_union_p2p_elements(), handle_union_p2p_elements(), heap_plugin_del(), it_update_epoch_member(), iterator_bf_reduce(), iterator_bf_reduce(), libgnunet_plugin_datacache_heap_done(), migrate_and_drop_keywords(), migrate_and_drop_metadata(), move_to_pending(), ns_lookup_result_cb(), peer_destroy(), pending_reversal_timeout(), pending_reversal_timeout(), pending_reversals_delete_it(), pending_reversals_delete_it(), process_result_with_request(), queue_destroy(), queue_destroy(), receiver_destroy(), reconstruct_cb(), remove_client_query_record(), remove_iterator(), remove_iterator(), remove_member_session(), remove_store_contact(), remove_stream(), revoke_epoch_membership_announcement(), sender_destroy(), setup_state_record(), update_store_contact(), and validation_transmit_on_queue().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by cancel_room_action(), cleanup_store_discourse_messages_before(), clear_member_chain_history(), close_srv_handle_room(), delete_store_message(), expire_blocks(), handle_secret_message_with_key(), link_room_deletion(), merge_srv_handle_room_to_sync(), namecache_cache_block(), namecache_del_block(), namestore_flat_store_records(), and set_contact_encryption_key().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by _GSS_operation_destroy(), begin_bf_exchange(), begin_bf_exchange(), callback_mq_error(), callback_peer_id_changed(), callback_reconnect(), cancel_room_actions_by(), cb_key_sync(), cleanup(), cleanup(), cleanup_handle(), cleanup_store_discourse_messages_before(), clear_contact_store(), clear_message_store(), clear_operation_store(), client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), client_disconnect_cb(), close_all_files(), collect_generation_garbage(), confirm_epoch_membership_announcment(), connection_destroy(), database_shutdown(), database_shutdown(), destroy_contact(), destroy_handle(), destroy_member(), destroy_room(), destroy_service(), destroy_service_session(), destroy_service_session(), destroy_service_session(), destroy_service_session(), destroy_srv_handle(), destroy_srv_room(), disconnect_cb(), do_reconnect(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), do_shutdown(), enc_notify_cb(), free_search_context(), GDS_CLIENTS_retry_requests(), get_member_session_of(), GNUNET_CADET_disconnect(), GNUNET_FS_search_continue(), GNUNET_FS_search_pause(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), GNUNET_FS_search_stop(), GNUNET_IDENTITY_disconnect(), GNUNET_MESSENGER_find_rooms(), GSF_iterate_pending_requests_(), GSF_peer_disconnect_handler(), GSF_pending_request_done_(), handle_alices_cryptodata_message(), handle_client_accept(), handle_intersection_p2p_done(), handle_intersection_p2p_done(), handle_leave_message(), handle_room_request_task(), handle_secret_messages_with_key(), handle_union_p2p_request_full(), handle_union_p2p_send_full(), handle_union_p2p_strata_estimator(), handle_validation_response(), heap_get_keys(), heap_plugin_get_closest(), heap_plugin_get_key(), initialize_key_to_element(), initialize_key_to_element(), is_epoch_membership_member(), it_room_store_keys(), iterate_epoch_membership_members(), iterate_member_sessions(), iterate_zones(), libgnunet_plugin_datastore_heap_done(), load_member_next_sessions(), main(), maybe_finish(), namecache_expire_blocks(), namestore_flat_iterate_records(), namestore_flat_zone_to_name(), print_finish(), process_bf(), process_bf(), reconnect_cbk(), REGEX_INTERNAL_iterate_reachable_edges(), REGEX_INTERNAL_search_cancel(), reschedule_connect(), reset_cadet(), reset_epoch_size(), REST_openid_done(), run(), run(), save_member(), save_member_session_history(), save_message_store(), save_operation_store(), save_state(), schedule_transmit_search_request(), send_alices_cryptodata_message(), send_alices_cryptodata_message(), send_bloomfilter(), send_bloomfilter(), send_epoch_announcement_appeal(), send_full_set(), send_full_set(), set_handle_key(), share_tree_trim(), shutdown_task(), signal_search_resume(), stop_service_run(), switch_member_session(), sync_member_contacts(), task_notify_srv_handle_member_id(), transmit_cryptographic_reply(), try_handle_plaintext(), and try_reconnect().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by cancel_room_action(), close_srv_handle_room(), delete_linked_hash(), delete_store_message(), find_trees(), GDS_CLIENTS_handle_reply(), GDS_ROUTING_add(), GDS_ROUTING_process(), GNUNET_FS_namespace_list_updateable(), GSF_plan_add_(), handle_client_result(), handle_dht_local_get_result_seen(), handle_dht_local_get_stop(), handle_p2p_get(), handle_p2p_put(), handle_port_open(), handle_put(), handle_reply(), heap_plugin_get(), heap_plugin_get_key(), heap_plugin_put(), heap_plugin_put(), heap_plugin_remove_key(), iter_hashcodes(), iter_hashcodes(), link_room_deletion(), link_room_message(), merge_srv_handle_room_to_sync(), process_ksk_result(), process_sks_result(), regex_next_edge(), and set_contact_encryption_key().
|
inlinestatic |
Definition at line 959 of file gnunet_hashmap_lib.h.
Referenced by apply_diff_to_rfn(), get_epoch_membership_member_hash(), get_epoch_membership_member_position(), propose_epoch_group(), send_client_element(), send_remaining_elements(), send_remaining_elements(), task_start_apply_round(), task_start_eval_echo(), and task_start_grade().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by cleaning_task(), client_disconnect_cb(), client_disconnect_cb(), CustomPeerMap_destroy(), destroy_srv_room(), destroy_sub(), do_shutdown(), do_shutdown(), free_neighbour(), GDS_NEIGHBOURS_done(), GNUNET_CORE_disconnect(), GNUNET_CRYPTO_ecc_dlog_release(), GNUNET_HOSTLIST_server_stop(), GNUNET_MESSENGER_destroy_room_state(), GNUNET_TRANSPORT_application_done(), GSC_SESSIONS_done(), GSF_cadet_stop_server(), GSF_connected_peer_done_(), GSF_plan_done(), handle_connection_create(), peers_terminate(), shutdown_rest(), shutdown_task(), shutdown_task(), shutdown_task(), View_change_len(), and View_destroy().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by add_valid_peer(), callback_tunnel_disconnect(), create_peer_ctx(), CustomPeerMap_put(), CustomPeerMap_remove_peer(), CustomPeerMap_remove_peer_by_index(), CustomPeerMap_size(), destroy_peer(), do_shutdown(), GDS_NEIGHBOURS_done(), GDS_u_connect(), GDS_u_disconnect(), get_random_peer_from_peermap(), get_srv_room_amount_of_tunnels(), get_target_peers(), GSC_SESSIONS_create(), GSC_SESSIONS_end(), GSF_peer_connect_handler(), GSF_peer_disconnect_handler(), GSF_plan_done(), handle_dv_learn(), insert_in_sampler(), process_notify(), queue_destroy(), rebuild_hostlist(), restore_valid_peers(), send_find_peer_message(), setup_estimate_message(), setup_queue(), start_dv_learn(), store_valid_peers(), View_change_len(), View_get_peer_by_index(), and View_size().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by client_connect_cb(), core_init(), create_srv_room(), CustomPeerMap_create(), GDS_NEIGHBOURS_init(), GNUNET_CORE_connect(), GNUNET_CRYPTO_ecc_dlog_prepare(), GNUNET_HOSTLIST_server_start(), GNUNET_MESSENGER_create_room_state(), GNUNET_PEER_intern(), GNUNET_TRANSPORT_application_init(), GSC_SESSIONS_init(), GSF_cadet_start_server(), GSF_connected_peer_init_(), GSF_plan_init(), handle_add_queue_message(), handle_client_send_request(), handle_connection_create(), handle_peer_push(), handle_suggest(), new_sub(), run(), run(), run(), run(), run(), run(), start_testcase(), View_change_len(), and View_create().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by connect_notify(), consider_for_advertising(), consider_sending_fc(), cummulative_ack(), CustomPeerMap_get_index_pointer(), CustomPeerMap_remove_peer(), decaps_dv_box_cont(), enter_srv_room_at(), find_session(), GCP_get(), GDS_NEIGHBOURS_lookup_peer(), GDS_u_connect(), get_cadet(), get_peer_ctx(), get_srv_room_tunnel(), GNUNET_CORE_get_mq(), GNUNET_CRYPTO_ecc_dlog(), GNUNET_PEER_intern(), GNUNET_PEER_search(), GSF_peer_get_(), GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), handle_client_send(), handle_client_send_request(), handle_connect_notify(), handle_core_connect(), handle_disconnect_notify(), handle_notify_inbound(), handle_revocation_union_request(), handle_send_ready(), handle_suggest_cancel(), handle_test(), learn_dv_path(), lookup_neighbour(), lookup_virtual_link(), neighbour_find(), process_notify(), process_peer(), rebuild_srv_room_basement_structure(), route_control_message_without_fc(), validation_challenge_freq(), View_change_len(), View_clear(), and View_remove_peer().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by callback_tunnel_disconnect(), check_peer_known(), check_peer_valid(), check_removable(), clean_peer(), CustomPeerMap_contains_peer(), CustomPeerMap_put(), destroy_peer(), get_peer_ctx(), GSC_CLIENTS_deliver_message(), GSC_CLIENTS_notify_client_about_neighbour(), GSC_CLIENTS_solicit_request(), handle_add_queue_message(), handle_client_send_request(), handle_dv_learn(), handle_peer_pull_reply(), handle_peer_pull_request(), handle_peer_push(), mq_notify_sent_cb(), send_pull_request(), send_push(), View_clear(), and View_contains_peer().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by activate_core_visible_dv_path(), add_valid_peer(), callback_room_connect(), check_for_global_natted(), connect_peer(), core_connects(), create_peer_ctx(), cummulative_ack(), CustomPeerMap_put(), decaps_dv_box_cont(), enter_srv_room_at(), GCP_get(), GDS_u_connect(), get_cadet(), GNUNET_CRYPTO_ecc_dlog_prepare(), GNUNET_PEER_intern(), GNUNET_TRANSPORT_application_suggest(), GSC_CLIENTS_notify_client_about_neighbour(), GSC_SESSIONS_create(), GSF_peer_connect_handler(), GSF_plan_add_(), handle_add_queue_message(), handle_client_init(), handle_client_send_request(), handle_connect(), handle_connection_create(), handle_core_connect(), handle_flow_control(), handle_suggest(), handle_test(), handle_validation_response(), insert_in_sampler(), learn_dv_path(), make_peer(), new_peer_entry(), on_message_cb(), process_notify(), setup_queue(), start_address_validation(), View_change_len(), and View_put().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by callback_room_connect(), callback_tunnel_disconnect(), check_for_global_natted(), destroy_ack_cummulator(), destroy_active_client_request(), destroy_peer(), disconnect_and_free_peer_entry(), disconnect_cb(), enter_srv_room_at(), free_backtalker(), free_dv_route(), free_neighbour(), free_peer(), free_validation_state(), free_virtual_link(), GDS_u_disconnect(), GNUNET_PEER_change_rc(), GNUNET_PEER_decrement_rcs(), GNUNET_TRANSPORT_application_suggest_cancel(), GSC_CLIENTS_reject_request(), GSC_SESSIONS_end(), GSF_peer_disconnect_handler(), GSF_plan_notify_peer_disconnect_(), handle_client_send(), handle_core_disconnect(), handle_core_disconnect(), neighbour_delete(), process_notify(), queue_destroy(), and stop_peer_request().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by add_valid_peer(), core_disconnects(), CustomPeerMap_remove_peer(), destroy_peer(), GSC_CLIENTS_notify_client_about_neighbour(), View_clear(), and View_remove_peer().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by add_peer_task(), cleaning_task(), client_disconnect_cb(), client_disconnect_cb(), consider_for_advertising(), consider_sending_fc(), cron_flush_respect(), destroy_srv_room(), detach_cmcs_from_client(), disconnect(), do_shutdown(), do_shutdown(), free_neighbour(), GCP_destroy_all_peers(), GCP_iterate_all(), get_random_peer_from_peermap(), get_valid_peers(), GNUNET_CORE_disconnect(), GNUNET_HOSTLIST_server_stop(), GNUNET_TRANSPORT_application_done(), GSC_SESSIONS_done(), GSC_SESSIONS_notify_client_about_sessions(), GSF_cadet_stop_server(), GSF_connected_peer_done_(), GSF_handle_local_client_disconnect_(), GSF_iterate_connected_peers_(), handle_client_start(), handle_dv_learn(), handle_link_list_request(), handle_monitor_start(), handle_p2p_estimate(), peers_terminate(), publicize_rm(), rebuild_hostlist(), reconnect(), reconnect_later(), schedule_next_hello(), send_find_peer_message(), send_srv_room_envelope(), start_dv_learn(), store_valid_peers(), transmit_dv_init(), and update_flood_message().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
Referenced by check_for_global_natted(), handle_add_queue_message(), handle_validation_response(), lookup_queue(), start_address_validation(), and try_to_bring_link_up().
|
inlinestatic |
Definition at line 975 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by clear_member_store(), clear_peer_store(), destroy_epoch(), destroy_member(), destroy_message_control(), destroy_peer(), destroy_room(), do_shutdown(), do_shutdown(), finish_test(), GCO_shutdown(), GNUNET_PQ_disconnect(), GNUNET_PQ_init(), and shutdown_rest().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by consider_peer_activate(), consider_peer_destroy(), destroy_peer(), destroy_route(), GCO_shutdown(), generate_free_member_id(), get_members_of_new_epoch(), GNUNET_PQ_disconnect(), GNUNET_PQ_event_listen_cancel(), GNUNET_PQ_event_poll_(), GNUNET_TESTING_barrier_count_(), handle_connection_create(), handle_test(), kce_generate(), scheduler_fd_cb(), secret_destroy(), and start_dv_learn().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by backchannel_check_run(), get_members_of_new_epoch(), is_epoch_member_in_any_group(), is_epoch_subgroup_of_any_group(), and propose_epoch_group().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by get_members_of_new_epoch(), is_epoch_member_in_any_group(), is_epoch_subgroup_of_any_group(), and propose_epoch_group().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by create_epoch(), create_member(), create_message_control(), create_peers(), create_room(), create_subnet_peers(), create_subnets(), GCO_init(), GCP_get(), GNUNET_CORE_cmd_connect_peers(), GNUNET_PQ_init(), GNUNET_TESTING_add_barrier_(), GNUNET_TESTING_cmd_transport_connect_peers(), GNUNET_TESTING_get_topo_from_string_(), GNUNET_TRANSPORT_cmd_start_peer(), init_member_store(), init_peer_store(), run(), run(), run(), and start_testcase().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by GCC_lookup(), get_member_subscription(), get_node_info(), get_route(), get_store_member(), GNUNET_PQ_event_listen(), GNUNET_PQ_event_listen_cancel(), GNUNET_TESTING_get_barrier2_(), handle_discourse_subscription(), and sock_read().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by generate_free_member_id(), handle_announcement_message(), and handle_revolution_message().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by handle_join_message().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by add_member_subscription(), add_peer_store_entry(), add_store_member(), connection_create(), create_peers(), create_subnet_peers(), create_subnets(), enqueue_message_control(), GCP_add_connection(), generate_room_epoch_announcement(), get_epoch_announcement(), get_epoch_group(), GNUNET_PQ_event_listen(), GNUNET_TESTING_add_barrier_(), GNUNET_TESTING_get_topo_from_string_(), handle_announcement_message(), handle_connection_create(), handle_discourse_subscription(), handle_id_message(), handle_join_message(), handle_revolution_message(), kce_generate(), load_peer_store(), notify_connect(), propose_epoch_group(), start_dv_learn(), and start_testcase().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by cancel_epoch_proposal_group(), destroy_route(), GCC_destroy(), GCP_remove_connection(), GNUNET_PQ_event_listen_cancel(), handle_discourse_subscription(), handle_id_message(), handle_leave_message(), kce_destroy(), keep_subscription_alive(), propose_epoch_group(), remove_member_subscription(), start_dv_learn(), and task_message_control().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by clear_member_store(), clear_peer_store(), create_new_epoch(), destroy_epoch(), destroy_member(), destroy_room(), find_room_member(), free_carriers_cb(), free_subnets_cb(), get_epoch_announcement(), get_epoch_group(), GNUNET_PQ_event_reconnect_(), GNUNET_TESTING_barrier_iterate_(), GNUNET_TESTING_free_topology(), invalidate_epoch_keys_by_member(), it_epoch_store_keys(), iterate_member_subscriptions(), iterate_room_members(), iterate_store_members(), load_member_store(), log_namespaces(), log_topo(), netjail_exec_run(), save_member_store(), save_peer_store(), send_simple_run(), send_simple_run(), send_simple_run(), start_carriers(), and start_subnets().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by get_epoch_announcement(), get_epoch_group(), get_store_peer_of(), GNUNET_PQ_event_do_poll(), process_message_control(), and update_store_peer().
|
inlinestatic |
Definition at line 991 of file gnunet_hashmap_lib.h.
Referenced by backchannel_check_run(), get_members_of_new_epoch(), is_epoch_member_in_any_group(), is_epoch_subgroup_of_any_group(), and propose_epoch_group().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by do_shutdown().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by run().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by handle_reliability_ack().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by prepare_pending_acknowledgement().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by free_pending_acknowledgement().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
Referenced by do_shutdown().
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1007 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by _GSS_operation_destroy(), client_disconnect_cb(), CustomPeerMap_destroy(), destroy_tunnel(), free_virtual_link(), GNUNET_CADET_disconnect(), GNUNET_MQ_destroy(), and union_op_cancel().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by client_disconnect_cb(), CustomPeerMap_put(), CustomPeerMap_remove_peer(), CustomPeerMap_remove_peer_by_index(), CustomPeerMap_size(), GCT_count_channels(), handle_client_accept(), handle_client_evaluate(), handle_fragment_box(), send_client_done(), send_client_done(), send_client_element(), send_client_element(), union_accept(), and union_evaluate().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by client_connect_cb(), CustomPeerMap_create(), GCT_create_tunnel(), GNUNET_CADET_connect(), GNUNET_MQ_assoc_add(), handle_fragment_box(), initialize_key_to_element(), and initialize_key_to_element().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by CustomPeerMap_get_peer_by_index(), CustomPeerMap_remove_peer(), find_channel(), get_next_free_ctn(), GNUNET_MQ_assoc_get(), GNUNET_MQ_assoc_remove(), handle_plaintext_channel_open(), lookup_channel(), and lookup_channel().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by CustomPeerMap_clear(), CustomPeerMap_get_peer_by_index(), and CustomPeerMap_remove_peer_by_index().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by create_channel(), CustomPeerMap_put(), CustomPeerMap_remove_peer(), GCT_add_channel(), GNUNET_MQ_assoc_add(), GSC_bind(), handle_channel_create(), handle_fragment_box(), handle_plaintext_channel_open(), op_register_element(), and op_register_element().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by channel_destroy_iterator(), destroy_channel(), free_reassembly_context(), GCT_remove_channel(), GSC_handle_remote_channel_destroy(), and handle_channel_destroy().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by CustomPeerMap_remove_peer(), and GNUNET_MQ_assoc_remove().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by _GSS_operation_destroy(), client_disconnect_cb(), free_virtual_link(), GCT_change_estate(), GCT_debug(), GCT_destroy_tunnel_now(), GCT_iterate_channels(), GNUNET_CADET_disconnect(), handle_mq_error(), handle_union_p2p_full_done(), handle_union_p2p_full_done(), prepare_ibf(), prepare_ibf(), and union_op_cancel().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.
Referenced by handle_fragment_box(), op_get_element(), op_get_element(), send_offers_for_key(), and send_offers_for_key().
|
inlinestatic |
Definition at line 1023 of file gnunet_hashmap_lib.h.