BeRTOS
Data Fields
HashTable Struct Reference

Hash table description. More...

#include <hashtable.h>

Data Fields

const void ** mem
 Buckets of data.
uint16_t max_elts_log2
 Log2 of the size of the table.
bool key_internal: 1
 true if the key is copied internally
hook_get_key hook
 Hook to get the key.
uint8_t * mem
 Pointer to the key memory.

Detailed Description

Hash table description.

Note:
This structures MUST NOT be accessed directly. Its definition is provided in the header file only for optimization purposes (see the rationale in hashtable.c).
If new elements must be added to this list, please double check DECLARE_HASHTABLE, which requires the existing elements to be at the top.

Definition at line 86 of file hashtable.h.


The documentation for this struct was generated from the following file: