blob: 97254a4a9094dd0bd5fc8f744305bd41207be97d (
plain)
1
2
3
4
5
6
7
8
9
10
|
#ifndef _CRC32_H
#define _CRC32_H
/* Returns crc32 of data block */
extern unsigned int crc32_sz(char *buf, int size);
/* Returns crc32 of null-terminated string */
#define crc32(buf) crc32_sz((buf),strlen(buf))
#endif
|