mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
d6914ed108
git-svn-id: https://svn.eduke32.com/eduke32@1205 1a8010ca-5511-0410-912e-c29ae57300e0
22 lines
353 B
C
22 lines
353 B
C
#ifndef __crc32_h__
|
|
#define __crc32_h__
|
|
|
|
#include "compat.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void initcrc32table(void);
|
|
|
|
uint32_t crc32once(uint8_t *blk, uint32_t len);
|
|
|
|
void crc32init(uint32_t *crcvar);
|
|
void crc32block(uint32_t *crcvar, uint8_t *blk, uint32_t len);
|
|
uint32_t crc32finish(uint32_t *crcvar);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|