diff options
author | Josh Allen <axlecrusher@gmail.com> | 2017-02-14 20:57:13 -0500 |
---|---|---|
committer | Josh Allen <axlecrusher@gmail.com> | 2017-02-14 20:57:13 -0500 |
commit | e1e7bfbad7016e29ca3cbb4de2f93d37462ca251 (patch) | |
tree | 51498ee43cceb6587ab3c37e3f9bf048182cac54 /redist/crc32.h | |
parent | 7d28d767ec888a189a338b984062b8097b63fddd (diff) | |
parent | 23a202f50fc0f9eb9127bebaf34c48d45776a25c (diff) | |
download | libsurvive-e1e7bfbad7016e29ca3cbb4de2f93d37462ca251.tar.gz libsurvive-e1e7bfbad7016e29ca3cbb4de2f93d37462ca251.tar.bz2 |
Merge github.com:cnlohr/libsurvive
Diffstat (limited to 'redist/crc32.h')
-rw-r--r-- | redist/crc32.h | 17 |
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 + |