Main object that holds the endpoints of the hash-list and the hash-table. More...
#include <hashlist.h>
Data Fields | |
| cp_hashlist_entry ** | table |
| table of entries in the hash-table | |
| cp_hashlist_entry * | head |
| first item in the list | |
| cp_hashlist_entry * | tail |
| last item in the list | |
| unsigned long | table_size |
| size of the hash-table | |
| unsigned long | items |
| number of items in the collection | |
| cp_hashfunction | hash_fn |
| pointer to hash function | |
| cp_compare_fn | compare_fn |
| pointer to compare function | |
| cp_copy_fn | copy_key |
| pointer to key copy function | |
| cp_copy_fn | copy_value |
| pointer to value copy function | |
| cp_destructor_fn | free_key |
| cp_destructor_fn | free_value |
| int | mode |
| operation mode (see collection.h) | |
| cp_lock * | lock |
| lock | |
| cp_thread | txowner |
| lock owner | |
| int | txtype |
| lock type | |
| unsigned long | min_size |
| int | fill_factor_min |
| minimal fill factor in percent | |
| int | fill_factor_max |
| maximal fill factor in percent | |
Main object that holds the endpoints of the hash-list and the hash-table.
It also stores the hash, compare and copy methods and the default operation mode.
1.7.1