| 1 |
//--------------------------------------------------------------------------- |
| 2 |
// Adler32 |
| 3 |
//--------------------------------------------------------------------------- |
| 4 |
// |
| 5 |
// Reviewed for Unicode support by Jim Park -- 08/29/2007 |
| 6 |
|
| 7 |
#if !defined(Adler32_H) |
| 8 |
#define Adler32_H |
| 9 |
|
| 10 |
namespace Checksum { |
| 11 |
typedef unsigned int uInt; /* 16 bits or more */ |
| 12 |
typedef unsigned long uLong; /* 32 bits or more */ |
| 13 |
typedef unsigned char Byte; /* 8 bits */ |
| 14 |
|
| 15 |
uLong adler32(uLong adler, const Byte *buf, uInt len); |
| 16 |
} |
| 17 |
|
| 18 |
#endif // Adler32_H |
| 19 |
|
| 20 |
|