mirror of
https://github.com/xboot/xrock.git
synced 2024-11-27 03:43:25 +08:00
17 lines
216 B
C
17 lines
216 B
C
#ifndef __CRC32_H__
|
|
#define __CRC32_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <x.h>
|
|
|
|
uint32_t crc32_sum(uint32_t crc, const uint8_t * buf, int len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __CRC32_H__ */
|