diff options
Diffstat (limited to '')
-rw-r--r-- | mqtt_websockets/c_rhash/src/c_rhash_internal.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mqtt_websockets/c_rhash/src/c_rhash_internal.h b/mqtt_websockets/c_rhash/src/c_rhash_internal.h new file mode 100644 index 000000000..aefa9453c --- /dev/null +++ b/mqtt_websockets/c_rhash/src/c_rhash_internal.h @@ -0,0 +1,17 @@ +#include "c_rhash.h" + +struct bin_item { + uint8_t key_type:4; + void *key; + uint8_t value_type:4; + void *value; + + struct bin_item *next; +}; + +typedef struct bin_item *c_rhash_bin; + +struct c_rhash_s { + size_t bin_count; + c_rhash_bin *bins; +}; |