uthash

A hash table for C structures

Version

2.3.0-1
(2023-04-10)

Size

195

KiB

Repository

HaikuPorts
Any C structure can be stored in a hash table using uthash. Just add a UT_hash_handle to the structure and choose one or more fields in your structure to act as the key.
Then use these macros to store, retrieve or delete items from the hash table