Codebase list unrar-nonfree / a6d80bbc-ed64-4b90-a9af-a4ea211328ac/main crc.hpp
a6d80bbc-ed64-4b90-a9af-a4ea211328ac/main

Tree @a6d80bbc-ed64-4b90-a9af-a4ea211328ac/main (Download .tar.gz)

crc.hpp @a6d80bbc-ed64-4b90-a9af-a4ea211328ac/mainraw · history · blame

#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