Go to the source code of this file.
Typedefs | |
| typedef struct hashtable | hashtable |
| typedef void *(* | ht_keycp )(void *) |
| typedef int(* | ht_keyeq )(void *, void *) |
| typedef unsigned int(* | ht_key2hash )(void *) |
Functions | |
| hashtable * | ht_create (int size, ht_keycp cp, ht_keyeq eq, ht_key2hash hash) |
| hashtable * | ht_create_d1 (int size) |
| hashtable * | ht_create_d2 (int size) |
| hashtable * | ht_create_str (int size) |
| void | ht_destroy (hashtable *table) |
| void * | ht_insert (hashtable *table, void *key, void *data) |
| void * | ht_find (hashtable *table, void *key) |
| void * | ht_delete (hashtable *table, void *key) |
| void | ht_process (hashtable *table, void(*func)(void *)) |
| typedef unsigned int( * ht_key2hash)(void *) |
| hashtable* ht_create | ( | int | size, | |
| ht_keycp | cp, | |||
| ht_keyeq | eq, | |||
| ht_key2hash | hash | |||
| ) |
| void* ht_insert | ( | hashtable * | table, | |
| void * | key, | |||
| void * | data | |||
| ) |
1.7.1