aboutsummaryrefslogtreecommitdiff
path: root/crc32.h
diff options
context:
space:
mode:
authorNebula Moe <nebula_moe@outlook.com>2023-07-24 19:47:03 +0800
committerNebula Moe <nebula_moe@outlook.com>2023-07-28 22:30:22 +0800
commit2161797b19b068622a692628f352c78254d8a354 (patch)
tree146272037ff9a79dbd3903dd9471a7713469419d /crc32.h
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