crc.hpp 339 B

123456789101112131415
  1. #ifndef _RAR_CRC_
  2. #define _RAR_CRC_
  3. // This function is only to intialize external CRC tables. We do not need to
  4. // call it before calculating CRC32.
  5. void InitCRC32(uint *CRCTab);
  6. uint CRC32(uint StartCRC,const void *Addr,size_t Size);
  7. #ifndef SFX_MODULE
  8. ushort Checksum14(ushort StartCRC,const void *Addr,size_t Size);
  9. #endif
  10. #endif