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