Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Examples  

hashfunc.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int Index

Functions

Index Hash1 (const char *Key, int TableSize)
 Calculate an index from a string of charecters.

Index Hash2 (const char *Key, int TableSize)
 Calculate an index from a string of charecters.

Index Hash3 (const char *Key, int TableSize)
 Calculate an index from a string of charecters.


Detailed Description

Header file for hashfunc.c.

Definition in file hashfunc.h.


Function Documentation

Index Hash1 const char *    Key,
int    TableSize
 

Calculate an index from a string of charecters.

Parameters:
Key Pointer to a zero terminated string of characters.
TableSize 'TableSize-1' represents the maximum value possible for the index. In other words, the value of the returned index will be such as: 0 <= index <= (TableSize-1).

Definition at line 14 of file hashfunc.c.

Index Hash2 const char *    Key,
int    TableSize
 

Calculate an index from a string of charecters.

Parameters:
Key Pointer to a zero terminated string of characters.
TableSize 'TableSize-1' represents the maximum value possible for the index. In other words, the value of the returned index will be such as: 0 <= index <= (TableSize-1).

Definition at line 34 of file hashfunc.c.

Index Hash3 const char *    Key,
int    TableSize
 

Calculate an index from a string of charecters.

Parameters:
Key Pointer to a zero terminated string of characters.
TableSize 'TableSize-1' represents the maximum value possible for the index. In other words, the value of the returned index will be such as: 0 <= index <= (TableSize-1).

Definition at line 47 of file hashfunc.c.


Generated on Thu Apr 3 16:23:45 2003 for Common_C_libraries by doxygen1.3-rc1