summaryrefslogtreecommitdiff
path: root/lib/wsprd/nhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wsprd/nhash.h')
-rw-r--r--lib/wsprd/nhash.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/wsprd/nhash.h b/lib/wsprd/nhash.h
new file mode 100644
index 00000000..a111916b
--- /dev/null
+++ b/lib/wsprd/nhash.h
@@ -0,0 +1,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