File:  [HATARI the Atari ST Emulator] / hatari / src / includes / utils.h
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:53:17 2019 UTC (7 years, 1 month ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, hatari02100, hatari02000, hatari01900, hatari01800, hatari01700, HEAD
hatari 1.7.0

/*
  Hatari - utils.h
  
  This file is distributed under the GNU General Public License, version 2
  or at your option any later version. Read the file gpl.txt for details.
*/
#ifndef HATARI_UTILS_H
#define HATARI_UTILS_H

#include <SDL_types.h>


#define CRC32_POLY	0x04c11db7	/* IEEE 802.3 recommandation */

extern void    crc32_reset ( Uint32 *crc );
extern void    crc32_add_byte ( Uint32 *crc , Uint8 c );

#define CRC16_POLY	0x1021		/* CCITT */

extern void    crc16_reset ( Uint16 *crc );
extern void    crc16_add_byte ( Uint16 *crc , Uint8 c );


#endif		/* HATARI_UTILS_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.