2015-06-10 10:48:26 -04:00
|
|
|
#ifndef NHASH_H_
|
|
|
|
#define NHASH_H_
|
|
|
|
|
|
|
|
#ifdef Win32
|
|
|
|
#include "win_stdint.h" /* defines uint32_t etc */
|
|
|
|
#else
|
2015-06-10 16:25:34 -04:00
|
|
|
#include <stddef.h>
|
2015-06-10 10:48:26 -04:00
|
|
|
#include <stdint.h> /* defines uint32_t etc */
|
|
|
|
#endif
|
|
|
|
|
2015-11-17 20:28:12 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-06-10 10:48:26 -04:00
|
|
|
uint32_t nhash( const void * key, size_t length, uint32_t initval);
|
2015-11-17 20:28:12 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2015-06-10 10:48:26 -04:00
|
|
|
|
|
|
|
#endif
|