2000-03-25 07:45:29 +00:00
|
|
|
// This may look like C code, but it is really -*- C++ -*-
|
|
|
|
|
|
|
|
/*
|
2000-10-13 12:04:55 +00:00
|
|
|
Copyright (C) 1988, 1992, 2000 Free Software Foundation
|
2000-03-25 07:45:29 +00:00
|
|
|
written by Doug Lea (dl@rocky.oswego.edu)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _hash_h
|
|
|
|
#define _hash_h 1
|
|
|
|
|
2000-10-13 12:04:55 +00:00
|
|
|
/* a hash function for char[] arrays using the
|
2000-03-25 07:45:29 +00:00
|
|
|
method described in Aho, Sethi, & Ullman, p 436. */
|
2000-10-13 12:04:55 +00:00
|
|
|
extern unsigned int hashpjw (const char *string, unsigned int len);
|
2000-03-25 07:45:29 +00:00
|
|
|
|
|
|
|
#endif
|