|
|
1.1 root 1: /*
2: Hatari - utils.h
3:
1.1.1.4 ! root 4: This file is distributed under the GNU General Public License, version 2
! 5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7: #ifndef HATARI_UTILS_H
8: #define HATARI_UTILS_H
9:
10: #include <SDL_types.h>
11:
12:
1.1.1.3 root 13: #define CRC32_POLY 0x04c11db7 /* IEEE 802.3 recommandation */
1.1 root 14:
1.1.1.2 root 15: extern void crc32_reset ( Uint32 *crc );
16: extern void crc32_add_byte ( Uint32 *crc , Uint8 c );
1.1 root 17:
1.1.1.3 root 18: #define CRC16_POLY 0x1021 /* CCITT */
19:
20: extern void crc16_reset ( Uint16 *crc );
21: extern void crc16_add_byte ( Uint16 *crc , Uint8 c );
22:
1.1 root 23:
24: #endif /* HATARI_UTILS_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.