summaryrefslogtreecommitdiffstats
path: root/src/nvme/crc32.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:53 +0000
commitcdb4f2853e722392481f9b3b52dd175dfeffec5a (patch)
tree156a2dcee1cbe550b5014eb6a0833a1cee6bda65 /src/nvme/crc32.h
parentReleasing debian version 1.8-3. (diff)
downloadlibnvme-cdb4f2853e722392481f9b3b52dd175dfeffec5a.tar.xz
libnvme-cdb4f2853e722392481f9b3b52dd175dfeffec5a.zip
Merging upstream version 1.9.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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