2004-10-18 18:24:54 +00:00
|
|
|
|
2004-10-12 02:44:47 +00:00
|
|
|
#include <lladd/crc32.h>
|
|
|
|
|
2004-10-18 18:24:54 +00:00
|
|
|
#ifndef __HASH_H
|
|
|
|
#define __HASH_H
|
2004-10-12 02:44:47 +00:00
|
|
|
/** @todo replace() powl in hash with something more efficient, if hash() becomes a bottleneck. */
|
2004-10-18 18:24:54 +00:00
|
|
|
unsigned int hash(const void * val, long val_length, unsigned char tableBits, unsigned long nextExtension);
|
|
|
|
#define twoToThe(x) (1 << (x))
|
|
|
|
|
|
|
|
#endif /*__HASH_H */
|