aboutsummaryrefslogtreecommitdiff
path: root/deflate.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:08:07 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:08:07 -0700
commitbdde4e09d21edff02ea5093b7f6eccbf166b272f (patch)
treea64632a98a6bea6e5df864d6e5b6f2e51ea69c1c /deflate.h
parent1c71d8b13b54f91ddec361d3053ecce26e6ff761 (diff)
downloadzlib-bdde4e09d21edff02ea5093b7f6eccbf166b272f.tar.gz
zlib-bdde4e09d21edff02ea5093b7f6eccbf166b272f.tar.bz2
zlib-bdde4e09d21edff02ea5093b7f6eccbf166b272f.zip
zlib 0.92v0.92
Diffstat (limited to 'deflate.h')
-rw-r--r--deflate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/deflate.h b/deflate.h
index 1f8068e..c292fc7 100644
--- a/deflate.h
+++ b/deflate.h
@@ -8,7 +8,7 @@
8 subject to change. Applications should only use zlib.h. 8 subject to change. Applications should only use zlib.h.
9 */ 9 */
10 10
11/* $Id: deflate.h,v 1.4 1995/05/01 15:08:45 jloup Exp $ */ 11/* $Id: deflate.h,v 1.5 1995/05/03 17:27:09 jloup Exp $ */
12 12
13#include "zutil.h" 13#include "zutil.h"
14 14
@@ -90,7 +90,7 @@ typedef struct internal_state {
90 Byte data_type; /* UNKNOWN, BINARY or ASCII */ 90 Byte data_type; /* UNKNOWN, BINARY or ASCII */
91 Byte method; /* STORED (for zip only) or DEFLATED */ 91 Byte method; /* STORED (for zip only) or DEFLATED */
92 92
93 /* used by deflate.c: */ 93 /* used by deflate.c: */
94 94
95 uInt w_size; /* LZ77 window size (32K by default) */ 95 uInt w_size; /* LZ77 window size (32K by default) */
96 uInt w_bits; /* log2(w_size) (8..16) */ 96 uInt w_bits; /* log2(w_size) (8..16) */
@@ -173,7 +173,7 @@ typedef struct internal_state {
173 173
174 int nice_match; /* Stop searching when current match exceeds this */ 174 int nice_match; /* Stop searching when current match exceeds this */
175 175
176 /* used by trees.c: */ 176 /* used by trees.c: */
177 177
178 ct_data dyn_ltree[HEAP_SIZE]; /* literal and length tree */ 178 ct_data dyn_ltree[HEAP_SIZE]; /* literal and length tree */
179 ct_data dyn_dtree[2*D_CODES+1]; /* distance tree */ 179 ct_data dyn_dtree[2*D_CODES+1]; /* distance tree */
@@ -264,9 +264,9 @@ typedef struct internal_state {
264 * distances are limited to MAX_DIST instead of WSIZE. 264 * distances are limited to MAX_DIST instead of WSIZE.
265 */ 265 */
266 266
267 /* in trees.c */ 267 /* in trees.c */
268void ct_init __P((deflate_state *s)); 268void ct_init __P((deflate_state *s));
269int ct_tally __P((deflate_state *s, int dist, int lc)); 269int ct_tally __P((deflate_state *s, int dist, int lc));
270ulg ct_flush_block __P((deflate_state *s, char *buf, ulg stored_len, int eof)); 270ulg ct_flush_block __P((deflate_state *s, char *buf, ulg stored_len, int eof));
271void ct_stored_block __P((deflate_state *s, char *buf, ulg stored_len, 271void ct_stored_block __P((deflate_state *s, char *buf, ulg stored_len,
272 int eof)); 272 int eof));