WiiFlow_Lite/source/plugin/crc32.h
fix94.1 f57507c4f3 -general code cleanup
-added crc32 buffer and limited checked filesize to 1gb
2012-11-18 13:40:26 +00:00

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 */