mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-04-22 22:19:37 +00:00
this will allow us to diff against newer version of unrarsrc if we wish to update our port
16 lines
339 B
C++
16 lines
339 B
C++
#ifndef _RAR_CRC_
|
|
#define _RAR_CRC_
|
|
|
|
// This function is only to intialize external CRC tables. We do not need to
|
|
// call it before calculating CRC32.
|
|
void InitCRC32(uint *CRCTab);
|
|
|
|
uint CRC32(uint StartCRC,const void *Addr,size_t Size);
|
|
|
|
#ifndef SFX_MODULE
|
|
ushort Checksum14(ushort StartCRC,const void *Addr,size_t Size);
|
|
#endif
|
|
|
|
|
|
#endif
|