Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

crc32.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  CRC32.H                                                                             */
00003 /*                                                                                      */
00004 /*  Author: Charles Bloom                                                               */
00005 /*  Description: CRC construction module                                                */
00006 /*                                                                                      */
00007 /*  The contents of this file are subject to the Genesis3D Public License               */
00008 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00009 /*  compliance with the License. You may obtain a copy of the License at                */
00010 /*  http://www.genesis3d.com                                                            */
00011 /*                                                                                      */
00012 /*  Software distributed under the License is distributed on an "AS IS"                 */
00013 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00014 /*  the License for the specific language governing rights and limitations              */
00015 /*  under the License.                                                                  */
00016 /*                                                                                      */
00017 /*  The Original Code is Genesis3D, released March 25, 1999.                            */
00018 /*  Genesis3D Version 1.1 released November 15, 1999                                 */
00019 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */
00020 /*                                                                                      */
00021 /****************************************************************************************/
00022 #ifndef GE_CRC32_H
00023 #define GE_CRC32_H
00024 
00025 #include "basetype.h"
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 extern uint32 CRC32_Array(const uint8 * buf,uint32 buflen);
00032 
00033 extern uint32 CRC32_Start(void);
00034 extern uint32 CRC32_Finish(uint32 crc);
00035 
00036 extern uint32 CRC32_AddByte(uint32 crc,uint8 b);
00037 extern uint32 CRC32_AddWord(uint32 crc,uint16 w);
00038 extern uint32 CRC32_AddLong(uint32 crc,uint32 w);
00039 
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043 
00044 #endif /* GE_CRC32_H */
00045 

Generated on Tue Sep 30 12:35:26 2003 for GTestAndEngine by doxygen 1.3.2