/* $Id: crc16_arc.h 616 2005-08-19 20:11:01Z bruce $ */ #ifndef CRC16__ARC__H__ #define CRC16__ARC__H__ #include #define CRC16_ARC_POLY ((uint16)0x8005) #define CRC16_ARC_INIT ((uint16)0) #define CRC16_ARC_POST ((uint16)0) extern const uint16 crc16_arc_table[256]; #define crc16_arc_update(C,D,L) gcrc16rfl((C),(D),(L),crc16_arc_table) #define crc16_arc_block(B,L) crc16_arc_update(0,(B),(L)) #endif