Add gperf 3.0.1.
[dragonfly.git] / contrib / gperf-3.0.1 / lib / hash.h
blobd202e723ad09022e0466e385e4e271617fac2c1f
1 // This may look like C code, but it is really -*- C++ -*-
3 /*
4 Copyright (C) 1988, 1992, 2000, 2002 Free Software Foundation
5 written by Doug Lea <dl@rocky.oswego.edu>
6 */
8 #ifndef _hash_h
9 #define _hash_h 1
11 /* a hash function for char[] arrays using the
12 method described in Aho, Sethi, & Ullman, p 436. */
13 extern unsigned int hashpjw (const unsigned char *string, unsigned int len);
15 #endif