#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <zephyr/sys/hash_function.h>
#include <zephyr/sys/util.h>
Go to the source code of this file.
|
typedef void *(* | sys_hashmap_allocator_t) (void *ptr, size_t new_size) |
| Allocator interface for sys_hashmap.
|
|
typedef void(* | sys_hashmap_iterator_t) (const struct sys_hashmap *map, struct sys_hashmap_iterator *it) |
| In-place iterator constructor for sys_hashmap.
|
|
typedef void(* | sys_hashmap_callback_t) (uint64_t key, uint64_t value, void *cookie) |
| Callback interface for sys_hashmap.
|
|
typedef void(* | sys_hashmap_clear_t) (struct sys_hashmap *map, sys_hashmap_callback_t cb, void *cookie) |
| Clear all entries contained in a sys_hashmap.
|
|
typedef int(* | sys_hashmap_insert_t) (struct sys_hashmap *map, uint64_t key, uint64_t value, uint64_t *old_value) |
| Insert a new entry into a sys_hashmap.
|
|
typedef bool(* | sys_hashmap_remove_t) (struct sys_hashmap *map, uint64_t key, uint64_t *value) |
| Remove an entry from a sys_hashmap.
|
|
typedef bool(* | sys_hashmap_get_t) (const struct sys_hashmap *map, uint64_t key, uint64_t *value) |
| Get a value from a sys_hashmap.
|
|