enum error_code error_code_t
Enumeration of error codes.
void hashtable_init(hashtable_t *hashtable, unsigned int size)
Initializes a hashtable.
error_code_t hashtable_get(hashtable_t *hashtable, const char *key, int64_t *value)
Get the value of the specified key inside the hashtable.
void hashtable_close(hashtable_t *hashtable)
Close the given hashtable.
void hashtable_set(hashtable_t *hashtable, const char *key, int64_t value)
Set the value of the specified key inside the hashtable.
struct hashtable hashtable_t
A hashtable.