]>
Commit | Line | Data |
---|---|---|
faeb1b64 KZ |
1 | /* |
2 | * No copyright is claimed. This code is in the public domain; do with it what | |
3 | * you wish. | |
4 | */ | |
3279b4a4 KZ |
5 | #ifndef UL_CRC32_H |
6 | #define UL_CRC32_H | |
7176f22d | 7 | |
db2a3dda | 8 | #include <sys/types.h> |
7176f22d KZ |
9 | #include <stdint.h> |
10 | ||
7f0d4d56 GZ |
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, | |
7020de0b | 13 | size_t exclude_off, size_t exclude_len); |
7176f22d KZ |
14 | |
15 | #endif | |
16 |