158551Skris// This may look like C code, but it is really -*- C++ -*-
258551Skris
358551Skris/*
4228060SbaptCopyright (C) 1988, 1992, 2000, 2002 Free Software Foundation
5228060Sbapt    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. */
13228060Sbaptextern unsigned int hashpjw (const unsigned char *string, unsigned int len);
1458551Skris
1558551Skris#endif
16