This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
freecell/crc32.h

15 lines
320 B
C
Raw Permalink Normal View History

2015-05-24 23:32:05 +01:00
/* this file is in the public domain */
#ifndef _CRC32_H
#define _CRC32_H
typedef struct {
unsigned int crc;
} CRC32_CTX;
void CRC32_Init(CRC32_CTX *context);
void CRC32_Update(CRC32_CTX *context, const void *data, unsigned long len);
void CRC32_Final(unsigned int *crc, CRC32_CTX *context);
#endif /* _CRC32_H */