|
static hnode_t * | hnode_alloc (void *context) |
static void | hnode_free (hnode_t *node, void *context) |
static hash_val_t | hash_fun_default (const void *key) |
static int | hash_comp_default (const void *key1, const void *key2) |
static void | compute_bits (void) |
static int | is_power_of_two (hash_val_t arg) |
static void | clear_table (hash_t *hash) |
static void | grow_table (hash_t *hash) |
static void | shrink_table (hash_t *hash) |
hash_t * | hash_create (hashcount_t maxcount, hash_comp_t compfun, hash_fun_t hashfun) |
void | hash_set_allocator (hash_t *hash, hnode_alloc_t al, hnode_free_t fr, void *context) |
void | hash_free_nodes (hash_t *hash) |
void | hash_destroy (hash_t *hash) |
void | hash_scan_begin (hscan_t *scan, hash_t *hash) |
hnode_t * | hash_scan_next (hscan_t *scan) |
void | hash_insert (hash_t *hash, hnode_t *node, const void *key) |
hnode_t * | hash_lookup (hash_t *hash, const void *key) |
hnode_t * | hash_delete (hash_t *hash, hnode_t *node) |
int | hash_alloc_insert (hash_t *hash, const void *key, void *data) |
void | hash_delete_free (hash_t *hash, hnode_t *node) |
hnode_t * | hash_scan_delete (hash_t *hash, hnode_t *node) |
void | hash_scan_delfree (hash_t *hash, hnode_t *node) |
int | hash_verify (hash_t *hash) |
static hnode_t * | hnode_alloc (void *context _U_) |
static void | hnode_free (hnode_t *node, void *context _U_) |
hnode_t * | hnode_init (hnode_t *hnode, void *data) |
void * | hnode_get (hnode_t *node) |
const void * | hnode_getkey (hnode_t *node) |
hashcount_t | hash_count (hash_t *hash) |
hashcount_t | hash_size (hash_t *hash) |