]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gperf/lib/hash.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gperf / lib / hash.h
1 // This may look like C code, but it is really -*- C++ -*-
2
3 /* 
4 Copyright (C) 1988, 1992, 2000, 2002 Free Software Foundation
5     written by Doug Lea <dl@rocky.oswego.edu>
6 */
7
8 #ifndef _hash_h
9 #define _hash_h 1
10
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);
14
15 #endif