00001
00002
00011 #ifndef __LOOKUP3_H
00012 #define __LOOKUP3_H
00013
00014 #ifndef HAVE_CONFIG_H
00015 # include <config.h>
00016 #endif
00017
00018 #include <stdint.h>
00019
00020 uint32_t hashword( const uint32_t *k, size_t length, uint32_t initval );
00021 uint32_t hashlittle( const void *key, size_t length, uint32_t initval );
00022 uint32_t hashbig( const void *key, size_t length, uint32_t initval );
00023
00024 #if BYTEORDER == 1234
00025 # define hashstr hashlittle
00026 #endif
00027
00028 #if BYTEORDER == 4321
00029 # define hashstr hashbig
00030 #endif
00031
00032 #endif
00033