#include <hashtable.h>
Data Fields | |
| unsigned char | bucketCount |
| The number of buckets. | |
| unsigned short | itemCount |
| The number of items. | |
| PmBucket ** | buckets |
| The buckets. | |
| unsigned char * | counts |
| The number of items in each bucket. | |
| int(* | compare )(const void *key1, const void *key2) |
| The key comparison function. | |
| unsigned short(* | hashkey )(PmHashTable *table, const void *key) |
| Generates a hash index for the specified key. | |
| void(* | freeData )(void *data) |
| The memory deallocation function for the data. | |
|
|
The number of buckets.
|
|
|
The buckets.
|
|
|
The key comparison function.
|
|
|
The number of items in each bucket.
|
|
|
The memory deallocation function for the data.
|
|
|
Generates a hash index for the specified key.
|
|
|
The number of items.
|
1.2.15-20020430