summaryrefslogtreecommitdiffstats
path: root/src/nvme/crc32.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:06:50 +0000
commitc662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea (patch)
tree6a0ebdb4cb3c7b76c824f021d9f3624d16037457 /src/nvme/crc32.h
parentAdding upstream version 1.8. (diff)
downloadlibnvme-c662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea.tar.xz
libnvme-c662bc3e81d6cc7c9265ea9c58b8d1dbf66245ea.zip
Adding upstream version 1.9.upstream/1.9upstream
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