1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef NHASH_H_ #define NHASH_H_ #ifdef Win32 #include "win_stdint.h" /* defines uint32_t etc */ #else #include <stddef.h> #include <stdint.h> /* defines uint32_t etc */ #endif #ifdef __cplusplus extern "C" { #endif uint32_t nhash( const void * key, size_t length, uint32_t initval); #ifdef __cplusplus } #endif #endif