Data Fields

_cp_hashtable_entry Struct Reference
[Cp_hashtable]

Internal object that implements a key, value pair plus linked list. More...

#include <hashtable.h>

Data Fields

void * key
 key (original) needed for comparisons
void * value
 the item value being stored
unsigned long hashcode
 save calculated hash-code of the key
struct _cp_hashtable_entrynext
 link to next entry

Detailed Description

Internal object that implements a key, value pair plus linked list.

Entries which are stored under the same index in the hashtable are stored in a linked list. The algorithm of the hashtable has to ensure that the lists do not get too long.


The documentation for this struct was generated from the following file: