hash-string.h File Reference

Hash functions for text strings. More...


Functions

unsigned long string_hash (void *string)
 Generate a hash key from a string.
unsigned long string_nocase_hash (void *string)
 Generate a hash key from a string, ignoring the case of letters.


Detailed Description

Hash functions for text strings.

For more information see string_hash or string_nocase_hash.


Function Documentation

unsigned long string_hash ( void *  string  ) 

Generate a hash key from a string.

Parameters:
string The string.
Returns:
A hash key for the string.

unsigned long string_nocase_hash ( void *  string  ) 

Generate a hash key from a string, ignoring the case of letters.

Parameters:
string The string.
Returns:
A hash key for the string.


Generated on Sun Sep 14 03:08:02 2008 for C Algorithms by  doxygen 1.5.5