mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-12 13:04:27 +01:00
f57507c4f3
-added crc32 buffer and limited checked filesize to 1gb
19 lines
243 B
C
19 lines
243 B
C
|
|
#ifndef CRC32_H
|
|
#define CRC32_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define UPDC32(octet, crc) (crc_32_tab[((crc)\
|
|
^ (octet)) & 0xff] ^ ((crc) >> 8))
|
|
|
|
u32 crc32file(const char *name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* CRC32_H */
|