summaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/hash.h b/hash.h
new file mode 100644
index 0000000..aa02c58
--- /dev/null
+++ b/hash.h
@@ -0,0 +1,15 @@
+#ifndef HASH_H
+#define HASH_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+uint32_t hash(const void *key, size_t length, const uint32_t initval);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* HASH_H */
+