#include <adt/hash_table.h>
#include <adt/list.h>
#include <unistd.h>
#include <malloc.h>
#include <assert.h>
#include <str.h>
Go to the source code of this file.
Functions | |
void | hash_table_apply (hash_table_t *h, void(*f)(link_t *, void *), void *arg) |
Apply fucntion to all items in hash table. | |
bool | hash_table_create (hash_table_t *h, hash_count_t m, hash_count_t max_keys, hash_table_operations_t *op) |
Create chained hash table. | |
void | hash_table_destroy (hash_table_t *h) |
Destroy a hash table instance. | |
link_t * | hash_table_find (hash_table_t *h, unsigned long key[]) |
Search hash table for an item matching keys. | |
void | hash_table_insert (hash_table_t *h, unsigned long key[], link_t *item) |
Insert item into a hash table. | |
void | hash_table_remove (hash_table_t *h, unsigned long key[], hash_count_t keys) |
Remove all matching items from hash table. |
Definition in file hash_table.c.