#ifndef HASH_H
#define HASH_H

typedef  unsigned int  ub4;   /* unsigned 4-byte quantities */
typedef  unsigned char ub1;   /* unsigned 1-byte quantities */

#define hashsize(n) ((ub4)1<<(n))
#define hashmask(n) (hashsize(n)-1)

ub4 hash( ub1*, ub4, ub4);

#endif /* end of HASH_H */
