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
|
2005-01-10 03:02:02 +00:00
|
|
|
unsigned int max_bucket(unsigned char tableBits, unsigned long nextExtension);
|
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 */
|