Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# adler32.c File Reference

`#include "zlib.h"`

Include dependency graph for adler32.c:

## Defines
#define | BASE 65521L
#define | NMAX 5552
#define | DO1(buf, i) {s1 += buf[i]; s2 += s1;}
#define | DO2(buf, i) DO1(buf,i); DO1(buf,i+1);
#define | DO4(buf, i) DO2(buf,i); DO2(buf,i+2);
#define | DO8(buf, i) DO4(buf,i); DO4(buf,i+4);
#define | DO16(buf) DO8(buf,0); DO8(buf,8);
## Functions
uLong | adler32 (adler, buf, len) uLong adler
## Variables
Bytef * | buf
uInt | len

## Define Documentation

#define BASE 65521L

#define DO1 | ( | buf,
|  | i |  | ) | {s1 += buf[i]; s2 += s1;}

#define DO16 | ( | buf |  | ) | DO8(buf,0); DO8(buf,8);

#define DO2 | ( | buf,
|  | i |  | ) | DO1(buf,i); DO1(buf,i+1);

#define DO4 | ( | buf,
|  | i |  | ) | DO2(buf,i); DO2(buf,i+2);

#define DO8 | ( | buf,
|  | i |  | ) | DO4(buf,i); DO4(buf,i+4);

#define NMAX 5552

## Function Documentation

uLong adler32 | ( | adler | ,
|  | buf | ,
|  | len |
| ) |

## Variable Documentation

charf * buf

uInt len