Initial commit.
This commit is contained in:
16
codemp/botlib/l_crc.h
Normal file
16
codemp/botlib/l_crc.h
Normal file
@@ -0,0 +1,16 @@
|
||||
//===========================================================================
|
||||
//
|
||||
// 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);
|
||||
Reference in New Issue
Block a user