#include <hash_table.h>
Data Fields | |
int(* | compare )(unsigned long key[], hash_count_t keys, link_t *item) |
Hash table item comparison function. | |
hash_index_t(* | hash )(unsigned long key[]) |
Hash function. | |
void(* | remove_callback )(link_t *item) |
Hash table item removal callback. |
Definition at line 46 of file hash_table.h.
int(* compare)(unsigned long key[], hash_count_t keys, link_t *item) |
Hash table item comparison function.
key | Array of keys that will be compared with item. It is not necessary to pass all keys. |
hash_index_t(* hash)(unsigned long key[]) |
Hash function.
key | Array of keys needed to compute hash index. All keys must be passed. |
void(* remove_callback)(link_t *item) |
Hash table item removal callback.
item | Item that was removed from the hash table. |