initial commit

This commit is contained in:
R-type
2015-12-14 14:00:35 +01:00
commit 5a96c0ca66
377 changed files with 149124 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#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_ */