subprojects/gperf/lib/hash.h
raw| 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 <[email protected]> |
| 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 |