mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-29 23:41:52 +00:00
16 lines
634 B
C
16 lines
634 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);
|