|
GF_Err | gf_map_iter_set (GF_Map *map, GF_It_Map *it) |
| Set a new map iterator. More...
|
|
void * | gf_map_iter_has_next (GF_It_Map *it) |
| return the next value in the map More...
|
|
GF_Err | gf_map_iter_reset (GF_It_Map *it) |
| Reset the iterator in the map. More...
|
|
GF_Pair * | gf_pair_new (const char *key, u32 key_len, void *item) |
|
void | gf_pair_del (GF_Pair *pair) |
|
static GF_Pair * | gf_pair_get (GF_List *pairs, const char *key) |
|
static Bool | gf_pair_rem (GF_List *pairs, const char *key) |
|
static unsigned long | hash (const char *str) |
|
GF_Map * | gf_map_new (u32 hash_capacity) |
| map constructor More...
|
|
void | gf_map_del (GF_Map *ptr) |
| map destructor More...
|
|
void | gf_map_reset (GF_Map *ptr) |
| resets map More...
|
|
void * | gf_map_find (GF_Map *ptr, const char *key) |
| finds item More...
|
|
GF_Err | gf_map_insert (GF_Map *ptr, const char *key, void *item) |
| add item More...
|
|
Bool | gf_map_rem (GF_Map *ptr, const char *key) |
| removes the couple key/item from the map More...
|
|
u32 | gf_map_count (const GF_Map *ptr) |
| get count More...
|
|
Bool | gf_map_has_key (GF_Map *ptr, const char *key) |
| Check if map contains key. More...
|
|