]> mj.ucw.cz Git - libucw.git/blob - lib/hashfunc.h
126b8f243a897967f6bea97bc60f824f44d3e47d
[libucw.git] / lib / hashfunc.h
1 /*
2  *      Sherlock Library -- Hash Functions
3  *
4  *      (c) 2002 Martin Mares <mj@ucw.cz>
5  */
6
7 #ifndef _SHERLOCK_HASHFUNC_H
8 #define _SHERLOCK_HASHFUNC_H
9
10 uns hash_string(byte *x);
11 uns hash_string_nocase(byte *x);
12 static inline uns hash_int(uns x) { return 6442450967*x; }
13
14 #endif