#include <linux/zlib.h>
#include <linux/string.h>
#include <linux/kernel.h>
Go to the source code of this file.
|
#define | STORED_BLOCK 0 |
|
#define | STATIC_TREES 1 |
|
#define | DYN_TREES 2 |
|
#define | MIN_MATCH 3 |
|
#define | MAX_MATCH 258 |
|
#define | PRESET_DICT 0x20 /* preset dictionary flag in zlib header */ |
|
#define | OS_CODE 0x03 /* assume Unix */ |
|
#define | BASE 65521L /* largest prime smaller than 65536 */ |
|
#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); |
|
#define BASE 65521L /* largest prime smaller than 65536 */ |
#define OS_CODE 0x03 /* assume Unix */ |
#define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */ |