Represents an entry in the hash table. More...
#include <hash.h>
Public Attributes | |
char * | key |
void * | value |
bool | needs_free |
struct Entry * | next |
Represents an entry in the hash table.
Entry::key |
The key associated with this entry.
Entry::value |
The value associated with this entry.
Entry::needs_free |
A flag indicating whether the value needs to be freed when the entry is removed.
Entry::next |
A pointer to the next entry in the same bucket (for handling collisions).