9 #ifndef _SQUAREBALL_TRIE_H 10 #define _SQUAREBALL_TRIE_H struct _sb_trie_t sb_trie_t
Definition: sb-trie.h:30
void * sb_trie_lookup(sb_trie_t *trie, const char *key)
void(* sb_free_func_t)(void *ptr)
Definition: sb-mem.h:31
void(* sb_trie_foreach_func_t)(const char *key, void *data, void *user_data)
Definition: sb-trie.h:40
size_t sb_trie_size(sb_trie_t *trie)
void sb_trie_free(sb_trie_t *trie)
sb_trie_t * sb_trie_new(sb_free_func_t free_func)
Memory allocation related helpers.
void sb_trie_insert(sb_trie_t *trie, const char *key, void *data)
void sb_trie_foreach(sb_trie_t *trie, sb_trie_foreach_func_t func, void *user_data)