Add packaging files for Tizen
[profile/ivi/yasm.git] / libyasm / phash.h
1 /* Modified for use with yasm by Peter Johnson. */
2 /*
3 ------------------------------------------------------------------------------
4 By Bob Jenkins, September 1996.
5 lookupa.h, a hash function for table lookup, same function as lookup.c.
6 Use this code in any way you wish.  Public Domain.  It has no warranty.
7 Source is http://burtleburtle.net/bob/c/lookupa.h
8 ------------------------------------------------------------------------------
9 */
10
11 #ifndef YASM_LIB_DECL
12 #define YASM_LIB_DECL
13 #endif
14
15 YASM_LIB_DECL
16 unsigned long phash_lookup(const char *k, size_t length,
17                            unsigned long level);
18 YASM_LIB_DECL
19 void phash_checksum(const char *k, size_t length, unsigned long *state);