]>
Commit | Line | Data |
---|---|---|
7176f22d KZ |
1 | #ifndef UL_NG_CRC32_H |
2 | #define UL_NG_CRC32_H | |
3 | ||
db2a3dda | 4 | #include <sys/types.h> |
7176f22d KZ |
5 | #include <stdint.h> |
6 | ||
7f0d4d56 GZ |
7 | extern uint32_t ul_crc32(uint32_t seed, const unsigned char *buf, size_t len); |
8 | extern uint32_t ul_crc32_exclude_offset(uint32_t seed, const unsigned char *buf, size_t len, | |
7020de0b | 9 | size_t exclude_off, size_t exclude_len); |
7176f22d KZ |
10 | |
11 | #endif | |
12 |