summaryrefslogtreecommitdiff
path: root/lib/wsprd/nhash.h
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/wsprd/nhash.h
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
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