mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-21 14:49:36 +02:00
17 lines
408 B
C
17 lines
408 B
C
#ifndef CRC32_H_
|
|
#define CRC32_H_
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "atari.h"
|
|
|
|
/* Compute CRC32 of LEN bytes from BUF. CRC should be set initially to
|
|
0xffffffff. */
|
|
ULONG CRC32_Update(ULONG crc, UBYTE const *buf, unsigned int len);
|
|
|
|
/* Compute CRC32 of a stream F and store it at *RESULT. Return non-zero on
|
|
success or 0 on read error. */
|
|
int CRC32_FromFile(FILE *f, ULONG *result);
|
|
|
|
#endif /* CRC32_H_ */
|