hash.h revision 228060
1254721Semaste// This may look like C code, but it is really -*- C++ -*- 2254721Semaste 3254721Semaste/* 4254721SemasteCopyright (C) 1988, 1992, 2000, 2002 Free Software Foundation 5254721Semaste written by Doug Lea <dl@rocky.oswego.edu> 6254721Semaste*/ 7254721Semaste 8254721Semaste#ifndef _hash_h 9254721Semaste#define _hash_h 1 10254721Semaste 11254721Semaste/* a hash function for char[] arrays using the 12254721Semaste method described in Aho, Sethi, & Ullman, p 436. */ 13254721Semasteextern unsigned int hashpjw (const unsigned char *string, unsigned int len); 14254721Semaste 15254721Semaste#endif 16254721Semaste