fusion/third_party/crc32/crc32.h

16 lines
367 B
C
Raw Permalink Normal View History

2025-08-05 07:53:44 +00:00
#ifndef _crc32_h_
#define _crc32_h_
#ifdef __cplusplus
extern "C" {
#endif
unsigned int crc32(unsigned int crc, const void *buf, size_t len);
void crc32init(unsigned int *crc);
void crc32update(unsigned int *crc, const void * b, size_t len);
void crc32final(unsigned int *crc);
unsigned int crcsimple(const void *buf, size_t len);
#ifdef __cplusplus
}
#endif
#endif