mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-26 22:21:10 +00:00
17 lines
650 B
C
17 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);
|