36 #ifndef _SDL_test_crc32_h
37 #define _SDL_test_crc32_h
51 #define CrcUint32 unsigned int
54 #define CrcUint8 unsigned char
57 #ifdef ORIGINAL_METHOD
58 #define CRC32_POLY 0x04c11db7
60 #define CRC32_POLY 0xEDB88320
int SDLTest_crc32Calc(SDLTest_Crc32Context *crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32)
int SDLTest_Crc32Done(SDLTest_Crc32Context *crcContext)
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)
int SDLTest_Crc32CalcStart(SDLTest_Crc32Context *crcContext, CrcUint32 *crc32)
int SDLTest_Crc32CalcEnd(SDLTest_Crc32Context *crcContext, CrcUint32 *crc32)
int SDLTest_Crc32Init(SDLTest_Crc32Context *crcContext)
int SDLTest_Crc32CalcBuffer(SDLTest_Crc32Context *crcContext, CrcUint8 *inBuf, CrcUint32 inLen, CrcUint32 *crc32)