hashtable Struct Reference

Struct representing a hash table. More...

#include <hashtable.h>

Data Fields

struct 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.

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.


Field Documentation

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.

Definition at line 11 of file hashtable.h.

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:
 All Data Structures Files Functions Variables Defines
Generated on Sun Jul 11 13:37:58 2010 for hashtable by  doxygen 1.6.3