Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

s_cf_hashentry Struct Reference

#include <hashlib.h>


Data Fields

unsigned char * key
size_t keylen
int stat
void * data
ub4 hashval
s_cf_hashentrynext
s_cf_hashentryprev


Detailed Description

this struct is used to store a hashtable entry.

Definition at line 48 of file hashlib.h.


Field Documentation

void* s_cf_hashentry::data
 

the data

Definition at line 53 of file hashlib.h.

ub4 s_cf_hashentry::hashval
 

the index in the hashtable (not shortened)

Definition at line 55 of file hashlib.h.

unsigned char* s_cf_hashentry::key
 

the hashtable key

Definition at line 49 of file hashlib.h.

size_t s_cf_hashentry::keylen
 

the length of the key

Definition at line 50 of file hashlib.h.

struct s_cf_hashentry* s_cf_hashentry::next
 

This is the pointer to the next value. Because we cannot avoid double hash values, we have a linked list of entries.

Definition at line 61 of file hashlib.h.

struct s_cf_hashentry* s_cf_hashentry::prev
 

This is the pointer to the previous value. Because we cannot avoid double hash values, we have a linked list of entries.

Definition at line 67 of file hashlib.h.

int s_cf_hashentry::stat
 

shall we call a destructor for this entry?

Definition at line 51 of file hashlib.h.


The documentation for this struct was generated from the following file:
Generated on Sun Apr 25 16:37:40 2004 for Classic Forum by doxygen 1.3.5