int dictionary_set(dictionary *d, const char *key, const char *val)
Set a value in a dictionary.
const char * dictionary_get(dictionary *d, const char *key, const char *def)
Get a value from a dictionary.
dictionary * dictionary_new(int size)
Create a new dictionary object.
struct _dictionary_ dictionary
Dictionary object.
void dictionary_del(dictionary *d)
Delete a dictionary object.
void dictionary_unset(dictionary *d, const char *key)
Delete a key in a dictionary.
void dictionary_dump(dictionary *d, FILE *out)
Dump a dictionary to an opened file pointer.
unsigned dictionary_hash(const char *key)
Compute the hash key for a string.