2012-02-03 06:08:17 -05:00
|
|
|
#ifndef __CRC_H
|
|
|
|
#define __CRC_H
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-02-03 06:08:17 -05:00
|
|
|
unsigned short crc16(const unsigned char *buffer, int len);
|
|
|
|
unsigned int crc32(const unsigned char *buffer, unsigned int len);
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-02-03 06:08:17 -05:00
|
|
|
#endif
|