mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2026-03-20 17:11:16 +01:00
Initial commit
This commit is contained in:
18
neo/idlib/hashing/CRC32.h
Normal file
18
neo/idlib/hashing/CRC32.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __CRC32_H__
|
||||
#define __CRC32_H__
|
||||
|
||||
/*
|
||||
===============================================================================
|
||||
|
||||
Calculates a checksum for a block of data
|
||||
using the CRC-32.
|
||||
|
||||
===============================================================================
|
||||
*/
|
||||
|
||||
void CRC32_InitChecksum( unsigned long &crcvalue );
|
||||
void CRC32_UpdateChecksum( unsigned long &crcvalue, const void *data, int length );
|
||||
void CRC32_FinishChecksum( unsigned long &crcvalue );
|
||||
unsigned long CRC32_BlockChecksum( const void *data, int length );
|
||||
|
||||
#endif /* !__CRC32_H__ */
|
||||
Reference in New Issue
Block a user