16 lines
650 B
C
16 lines
650 B
C
//===========================================================================
|
|
//
|
|
// Name: l_crc.h
|
|
// Function: for CRC checks
|
|
// Programmer: Mr Elusive (MrElusive@demigod.demon.nl)
|
|
// Last update: 1997-12-31
|
|
// Tab Size: 3
|
|
//===========================================================================
|
|
|
|
typedef unsigned short crc_t;
|
|
|
|
void CRC_Init(unsigned short *crcvalue);
|
|
void CRC_ProcessByte(unsigned short *crcvalue, byte data);
|
|
unsigned short CRC_Value(unsigned short crcvalue);
|
|
unsigned short CRC_ProcessString(unsigned char *data, int length);
|
|
void CRC_ContinueProcessString(unsigned short *crc, char *data, int length);
|