hash.h revision 67064
158551Skris// This may look like C code, but it is really -*- C++ -*- 258551Skris 358551Skris/* 467064SobrienCopyright (C) 1988, 1992, 2000 Free Software Foundation 558551Skris written by Doug Lea (dl@rocky.oswego.edu) 658551Skris*/ 758551Skris 858551Skris#ifndef _hash_h 958551Skris#define _hash_h 1 1058551Skris 1167064Sobrien/* a hash function for char[] arrays using the 1258551Skris method described in Aho, Sethi, & Ullman, p 436. */ 1367064Sobrienextern unsigned int hashpjw (const char *string, unsigned int len); 1458551Skris 1558551Skris#endif 16