]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/crc32.h
Merge branch 'ci/meson-werror' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / include / crc32.h
1 /*
2 * No copyright is claimed. This code is in the public domain; do with it what
3 * you wish.
4 */
5 #ifndef UL_CRC32_H
6 #define UL_CRC32_H
7
8 #include <sys/types.h>
9 #include <stdint.h>
10
11 extern uint32_t ul_crc32(uint32_t seed, const unsigned char *buf, size_t len);
12 extern uint32_t ul_crc32_exclude_offset(uint32_t seed, const unsigned char *buf, size_t len,
13 size_t exclude_off, size_t exclude_len);
14
15 #endif
16