mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 17:15:06 +01:00
fb7cdc4d75
images -changed list stuff a bit again, it'll take more mem now but therefore it shouldnt slowdown when having alot of folders @devs -added crc32buffer, if you wanna know if the content is OK just crc32 it :P
20 lines
282 B
C
20 lines
282 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(char *name);
|
|
u32 crc32buffer(const u8 *s, const u32 len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* CRC32_H */
|