summaryrefslogtreecommitdiffstats
path: root/src/nvme/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvme/crc32.h')
-rw-r--r--src/nvme/crc32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvme/crc32.h b/src/nvme/crc32.h
new file mode 100644
index 0000000..2bdc8fb
--- /dev/null
+++ b/src/nvme/crc32.h
@@ -0,0 +1,9 @@
+#ifndef crc32_H
+#define crc32_H
+
+#include <stdint.h>
+#include <stddef.h>
+
+uint32_t crc32(uint32_t crc, const void *buf, size_t len);
+
+#endif