aboutsummaryrefslogtreecommitdiff
path: root/redist/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'redist/crc32.h')
-rw-r--r--redist/crc32.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/redist/crc32.h b/redist/crc32.h
new file mode 100644
index 0000000..5a8d16a
--- /dev/null
+++ b/redist/crc32.h
@@ -0,0 +1,17 @@
+// (C) 2016 Joshua Allen, MIT/x11 License.
+//
+//All MIT/x11 Licensed Code in this file may be relicensed freely under the GPL or LGPL licenses.
+//crc32.c under liberal license.
+//
+// You should only include this file if you are going to include the calibration subsystem of libsurvive.
+
+#ifndef CRC32_H
+#define CRC32_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+uint32_t crc32(uint32_t crc, uint8_t *buf, size_t size);
+
+#endif
+