#ifndef _CRC_H_ #define _CRC_H_ 1 #include #ifdef __cplusplus extern "C" { #endif extern uint16_t crc16_ccitt(const char *buf, int len); #ifdef __cplusplus } #endif #endif