| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Separate Chaining Hashmap Implementation. More...
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <stdlib.h>#include <zephyr/sys/hash_function.h>#include <zephyr/sys/hash_map_api.h>Go to the source code of this file.
Macros | |
| #define | SYS_HASHMAP_SC_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) | 
| Declare a Separate Chaining Hashmap (advanced)  More... | |
| #define | SYS_HASHMAP_SC_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) | 
| Declare a Separate Chaining Hashmap (advanced)  More... | |
| #define | SYS_HASHMAP_SC_DEFINE_STATIC(_name) | 
| Declare a Separate Chaining Hashmap statically.  More... | |
| #define | SYS_HASHMAP_SC_DEFINE(_name) | 
| Declare a Separate Chaining Hashmap.  More... | |
Variables | |
| const struct sys_hashmap_api | sys_hashmap_sc_api | 
Separate Chaining Hashmap Implementation.
CONFIG_SYS_HASH_MAP_SC   | #define SYS_HASHMAP_SC_DEFINE | ( | _name | ) | 
Declare a Separate Chaining Hashmap.
Declare a Separate Chaining Hashmap with default parameters.
| _name | Name of the Hashmap. | 
| #define SYS_HASHMAP_SC_DEFINE_ADVANCED | ( | _name, | |
| _hash_func, | |||
| _alloc_func, | |||
| ... | |||
| ) | 
Declare a Separate Chaining Hashmap (advanced)
Declare a Separate Chaining Hashmap with control over advanced parameters.
_alloc_func is used for allocating internal Hashmap entries and does not interact with any user-provided keys or values.| _name | Name of the Hashmap. | 
| _hash_func | Hash function pointer of type sys_hash_func32_t. | 
| _alloc_func | Allocator function pointer of type sys_hashmap_allocator_t. | 
| ... | Details for sys_hashmap_config. | 
| #define SYS_HASHMAP_SC_DEFINE_STATIC | ( | _name | ) | 
Declare a Separate Chaining Hashmap statically.
Declare a Separate Chaining Hashmap statically with default parameters.
| _name | Name of the Hashmap. | 
| #define SYS_HASHMAP_SC_DEFINE_STATIC_ADVANCED | ( | _name, | |
| _hash_func, | |||
| _alloc_func, | |||
| ... | |||
| ) | 
Declare a Separate Chaining Hashmap (advanced)
Declare a Separate Chaining Hashmap with control over advanced parameters.
_alloc is used for allocating internal Hashmap entries and does not interact with any user-provided keys or values.| _name | Name of the Hashmap. | 
| _hash_func | Hash function pointer of type sys_hash_func32_t. | 
| _alloc_func | Allocator function pointer of type sys_hashmap_allocator_t. | 
| ... | Details for sys_hashmap_config. | 
      
  | 
  extern |