summaryrefslogtreecommitdiff
path: root/vendors/murmurhash/murmurhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendors/murmurhash/murmurhash.h')
-rw-r--r--vendors/murmurhash/murmurhash.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendors/murmurhash/murmurhash.h b/vendors/murmurhash/murmurhash.h
new file mode 100644
index 0000000..b6b6e43
--- /dev/null
+++ b/vendors/murmurhash/murmurhash.h
@@ -0,0 +1,30 @@
+/**
+ * `murmurhash.h' - murmurhash
+ *
+ * copyright (c) 2014-2022 joseph werle <[email protected]>
+ */
+
+#ifndef MURMURHASH_H
+#define MURMURHASH_H
+
+#include <stdint.h>
+
+#define MURMURHASH_VERSION "0.1.0"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * Returns a murmur hash of `key' based on `seed'
+ * using the MurmurHash3 algorithm
+ */
+
+uint32_t
+murmurhash (const char *, uint32_t, uint32_t);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif