Add fnv hash
[fio.git] / crc / fnv.h
diff --git a/crc/fnv.h b/crc/fnv.h
new file mode 100644 (file)
index 0000000..ef2b77b
--- /dev/null
+++ b/crc/fnv.h
@@ -0,0 +1,8 @@
+#ifndef FIO_FNV_H
+#define FIO_FNV_H
+
+#include <inttypes.h>
+
+uint64_t fnv(const void *, uint32_t, uint64_t);
+
+#endif