#ifndef CRC_H #define CRC_H #ifdef __cplusplus extern "C" { #endif unsigned short _stdcall _export CRC16(const unsigned char *puchMsg, int usDataLen); unsigned short _stdcall _export crc16_2(const unsigned char *puchMsg, int usDataLen); #ifdef __cplusplus } #endif #endif