crc.h 188 B

12345678910111213141516
  1. #ifndef _CRC_H_
  2. #define _CRC_H_ 1
  3. #include <stdint.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. extern uint16_t crc16_ccitt(const char *buf, int len);
  8. #ifdef __cplusplus
  9. }
  10. #endif
  11. #endif