Stringmap

group stringmap

Defines

STRINGMAP_INIT

Typedefs

typedef struct stringmap_t stringmap_t
typedef struct stringmap_node_t stringmap_node_t

Functions

stringmap_t *stringmap_new() __attribute__((malloc))
void *stringmap_search(const stringmap_t *Map, const char *Key) __attribute__((pure))
void *stringmap_insert(stringmap_t *Map, const char *Key, void *Value)
void *stringmap_remove(stringmap_t *Map, const char *Key)
void **stringmap_slot(stringmap_t *Map, const char *Key)
int stringmap_foreach(stringmap_t *Map, void *Data, int (*callback)(const char*, void*, void*))
unsigned long stringmap_hash(const char *Key) __attribute__((pure))
struct stringmap_t