summaryrefslogtreecommitdiffstats
path: root/include/crc32.h
blob: ff2dd99d874115acc000764bab2e7a14c54e334d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef UL_NG_CRC32_H
#define UL_NG_CRC32_H

#include <sys/types.h>
#include <stdint.h>

extern uint32_t crc32(uint32_t seed, const unsigned char *buf, size_t len);
extern uint32_t crc32_exclude_offset(uint32_t seed, const unsigned char *buf, size_t len,
		                              size_t exclude_off, size_t exclude_len);

#endif