diff options
Diffstat (limited to 'crc32.h')
-rw-r--r-- | crc32.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -13,13 +13,15 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: crc32.h,v 1.2 1999/11/24 13:26:22 damien Exp $"); */ | 16 | /* RCSID("$Id: crc32.h,v 1.3 1999/11/25 00:54:59 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef CRC32_H | 18 | #ifndef CRC32_H |
19 | #define CRC32_H | 19 | #define CRC32_H |
20 | 20 | ||
21 | /* This computes a 32 bit CRC of the data in the buffer, and returns the | 21 | /* |
22 | CRC. The polynomial used is 0xedb88320. */ | 22 | * This computes a 32 bit CRC of the data in the buffer, and returns the CRC. |
23 | * The polynomial used is 0xedb88320. | ||
24 | */ | ||
23 | unsigned int crc32(const unsigned char *buf, unsigned int len); | 25 | unsigned int crc32(const unsigned char *buf, unsigned int len); |
24 | 26 | ||
25 | #endif /* CRC32_H */ | 27 | #endif /* CRC32_H */ |