2004-08-21 01:25:48 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
/* crc.h */
|
|
|
|
|
2005-09-08 22:52:46 +00:00
|
|
|
void QCRC_Init(unsigned short *crcvalue);
|
2006-09-17 00:59:22 +00:00
|
|
|
void QCRC_AddBlock (unsigned short *crcvalue, qbyte *start, int count);
|
2005-09-08 22:52:46 +00:00
|
|
|
void QCRC_ProcessByte(unsigned short *crcvalue, qbyte data);
|
|
|
|
unsigned short QCRC_Value(unsigned short crcvalue);
|
|
|
|
unsigned short QCRC_Block (qbyte *start, int count);
|
2008-11-09 22:29:28 +00:00
|
|
|
unsigned short QCRC_Block_AsLower (qbyte *start, int count);
|