bump version number to 0.91
[openggsn.git] / sgsnemu / lookup.h
blob18b94c13bb11ee65e386201df08598633e3583bc
1 /*
2 * Hash lookup function.
3 * Copyright (C) 2003, 2004 Mondru AB.
4 *
5 * The contents of this file may be used under the terms of the GNU
6 * General Public License Version 2, provided that the above copyright
7 * notice and this permission notice is included in all copies or
8 * substantial portions of the software.
9 *
12 /**
13 * lookup()
14 * Generates a 32 bit hash.
15 * Based on public domain code by Bob Jenkins
16 * It should be one of the best hash functions around in terms of both
17 * statistical properties and speed. It is NOT recommended for cryptographic
18 * purposes.
19 **/
21 #ifndef _LOOKUP_H
22 #define _LOOKUP_H
23 unsigned long int lookup( unsigned char *k, unsigned long int length, unsigned long int level);
25 #endif /* !_LOOKUP_H */