aboutsummaryrefslogtreecommitdiff
path: root/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'crc32.h')
-rw-r--r--crc32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/crc32.h b/crc32.h
new file mode 100644
index 0000000..7055a1c
--- /dev/null
+++ b/crc32.h
@@ -0,0 +1,11 @@
+// Copyright (C) 2023 Dzshy <dzshy@outlook.com>. All Rights Reserved.
+// Licensed under Non-Profit Open Software License ("Non-Profit OSL") 3.0.
+
+#ifndef CRC32_H_
+#define CRC32_H_
+
+#include <stdint.h>
+
+uint32_t crc32(uint32_t r, void *buf, int size);
+
+#endif