Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Generic Hashmap iterator interface. More...
#include <hash_map_api.h>
Data Fields | |
const struct sys_hashmap * | map |
Pointer to the associated Hashmap. | |
void(* | next )(struct sys_hashmap_iterator *it) |
Modify the iterator in-place to point to the next Hashmap entry. | |
void * | state |
Implementation-specific iterator state. | |
uint64_t | key |
Key associated with the current entry. | |
uint64_t | value |
Value associated with the current entry. | |
const size_t | size |
Number of entries in the map. | |
size_t | pos |
Number of entries already iterated. | |
Generic Hashmap iterator interface.
uint64_t sys_hashmap_iterator::key |
Key associated with the current entry.
const struct sys_hashmap* sys_hashmap_iterator::map |
Pointer to the associated Hashmap.
void(* sys_hashmap_iterator::next) (struct sys_hashmap_iterator *it) |
Modify the iterator in-place to point to the next Hashmap entry.
size_t sys_hashmap_iterator::pos |
Number of entries already iterated.
const size_t sys_hashmap_iterator::size |
Number of entries in the map.
void* sys_hashmap_iterator::state |
Implementation-specific iterator state.
uint64_t sys_hashmap_iterator::value |
Value associated with the current entry.