An entry in a map. More...
Data Fields | ||
| struct MapEntry * | next | |
| Next entry in the same bucket. | ||
| void * | value | |
| The application's value. | ||
| union { | ||
| uint64_t u64 | ||
| KS_INLINE_VALUE: the key, zero-extended, for comparing. More... | ||
| unsigned char bytes [sizeof(uint64_t)] | ||
| KS_INLINE_VALUE: the key, as the first key_size bytes. More... | ||
| const void * ptr | ||
| KS_INLINE_COPY and KS_BORROWED: the key_size bytes of the key. More... | ||
| } | k | |
| The key itself (KS_INLINE_VALUE), or where to find it (the other kinds of storage). | ||
| unsigned char | key_copy [] | |
| KS_INLINE_COPY only: the key; allocated with the entry. | ||
| struct MapEntry* MapEntry::next |
Next entry in the same bucket.
Definition at line 111 of file container_multimap.c.
Referenced by free_entries(), GNUNET_CONTAINER_multimap_contains_(), GNUNET_CONTAINER_multimap_contains_value_(), GNUNET_CONTAINER_multimap_get_(), GNUNET_CONTAINER_multimap_get_multiple_(), GNUNET_CONTAINER_multimap_iterate_(), GNUNET_CONTAINER_multimap_iterator_next_(), GNUNET_CONTAINER_multimap_put_(), GNUNET_CONTAINER_multimap_remove_(), GNUNET_CONTAINER_multimap_remove_all_(), grow(), and update_next_cache().
| void* MapEntry::value |
The application's value.
Definition at line 116 of file container_multimap.c.
Referenced by GNUNET_CONTAINER_multimap_get_multiple_(), GNUNET_CONTAINER_multimap_iterate_(), GNUNET_CONTAINER_multimap_iterator_next_(), GNUNET_CONTAINER_multimap_put_(), and GNUNET_CONTAINER_multimap_remove_().
| uint64_t MapEntry::u64 |
KS_INLINE_VALUE: the key, zero-extended, for comparing.
Definition at line 127 of file container_multimap.c.
Referenced by GNUNET_CONTAINER_multimap_put_(), grow(), and keys_equal().
| unsigned char MapEntry::bytes[sizeof(uint64_t)] |
KS_INLINE_VALUE: the key, as the first key_size bytes.
Definition at line 132 of file container_multimap.c.
Referenced by entry_key().
| const void* MapEntry::ptr |
KS_INLINE_COPY and KS_BORROWED: the key_size bytes of the key.
Definition at line 137 of file container_multimap.c.
Referenced by callback_key(), entry_key(), GNUNET_CONTAINER_multimap_put_(), and keys_equal().
| union { ... } MapEntry::k |
The key itself (KS_INLINE_VALUE), or where to find it (the other kinds of storage).
Referenced by callback_key(), entry_key(), GNUNET_CONTAINER_multimap_put_(), grow(), and keys_equal().
| unsigned char MapEntry::key_copy[] |
KS_INLINE_COPY only: the key; allocated with the entry.
Definition at line 143 of file container_multimap.c.
Referenced by GNUNET_CONTAINER_multimap_put_().