Changeset View
Changeset View
Standalone View
Standalone View
contrib/zlib/inflate.h
#ifndef INFLATE_H | |||||
#define INFLATE_H | |||||
delphij: (similar to crc32.h -- I think we can upstream this but are these changes really needed?) | |||||
/* inflate.h -- internal inflate state definition | /* inflate.h -- internal inflate state definition | ||||
* Copyright (C) 1995-2016 Mark Adler | * Copyright (C) 1995-2016 Mark Adler | ||||
* For conditions of distribution and use, see copyright notice in zlib.h | * For conditions of distribution and use, see copyright notice in zlib.h | ||||
*/ | */ | ||||
/* WARNING: this file should *not* be used by applications. It is | /* WARNING: this file should *not* be used by applications. It is | ||||
part of the implementation of the compression library and is | part of the implementation of the compression library and is | ||||
subject to change. Applications should only use zlib.h. | subject to change. Applications should only use zlib.h. | ||||
▲ Show 20 Lines • Show All 109 Lines • ▼ Show 20 Lines | struct inflate_state { | ||||
code FAR *next; /* next available space in codes[] */ | code FAR *next; /* next available space in codes[] */ | ||||
unsigned short lens[320]; /* temporary storage for code lengths */ | unsigned short lens[320]; /* temporary storage for code lengths */ | ||||
unsigned short work[288]; /* work area for code table building */ | unsigned short work[288]; /* work area for code table building */ | ||||
code codes[ENOUGH]; /* space for code tables */ | code codes[ENOUGH]; /* space for code tables */ | ||||
int sane; /* if false, allow invalid distance too far */ | int sane; /* if false, allow invalid distance too far */ | ||||
int back; /* bits back of last unprocessed length/lit */ | int back; /* bits back of last unprocessed length/lit */ | ||||
unsigned was; /* initial length of match */ | unsigned was; /* initial length of match */ | ||||
}; | }; | ||||
#endif |
(similar to crc32.h -- I think we can upstream this but are these changes really needed?)