hashtable Struct Reference

#include <hashtable.h>


Detailed Description

Struct representing a hash table.

The members of this struct are for internal use only; programs can manipulate hash tables through the interface exposed in hashtable.h.

Definition at line 10 of file hashtable.h.

Data Fields

hashtable_entry ** bucket
 The buckets in this hash table.
unsigned int(* hash )(const char *)
 The hash function to be used with this hash table.
unsigned int nbuckets
 The number of buckets in this hash table.


Field Documentation

struct hashtable_entry ** hashtable::bucket

The buckets in this hash table.

Each bucket is a linked list of entries, terminated by NULL.

Definition at line 13 of file hashtable.h.

unsigned int(* hashtable::hash)(const char *)

The hash function to be used with this hash table.

unsigned int hashtable::nbuckets

The number of buckets in this hash table.

Definition at line 12 of file hashtable.h.


The documentation for this struct was generated from the following files:
Generated on Mon Jul 30 14:58:22 2007 for hashtable by  doxygen 1.5.1