diff options
Diffstat (limited to '')
| -rw-r--r-- | inffast.c | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -5,6 +5,8 @@ | |||
| 5 | 5 | ||
| 6 | #include "zutil.h" | 6 | #include "zutil.h" |
| 7 | #include "inftrees.h" | 7 | #include "inftrees.h" |
| 8 | #include "infblock.h" | ||
| 9 | #include "infcodes.h" | ||
| 8 | #include "infutil.h" | 10 | #include "infutil.h" |
| 9 | #include "inffast.h" | 11 | #include "inffast.h" |
| 10 | 12 | ||
| @@ -28,22 +30,22 @@ struct inflate_codes_state {int dummy;}; /* for buggy compilers */ | |||
| 28 | int inflate_fast(bl, bd, tl, td, s, z) | 30 | int inflate_fast(bl, bd, tl, td, s, z) |
| 29 | uInt bl, bd; | 31 | uInt bl, bd; |
| 30 | inflate_huft *tl, *td; | 32 | inflate_huft *tl, *td; |
| 31 | struct inflate_blocks_state *s; | 33 | inflate_blocks_statef *s; |
| 32 | z_stream *z; | 34 | z_stream *z; |
| 33 | { | 35 | { |
| 34 | inflate_huft *t; /* temporary pointer */ | 36 | inflate_huft *t; /* temporary pointer */ |
| 35 | uInt e; /* extra bits or operation */ | 37 | uInt e; /* extra bits or operation */ |
| 36 | uLong b; /* bit buffer */ | 38 | uLong b; /* bit buffer */ |
| 37 | uInt k; /* bits in bit buffer */ | 39 | uInt k; /* bits in bit buffer */ |
| 38 | Byte *p; /* input data pointer */ | 40 | Bytef *p; /* input data pointer */ |
| 39 | uInt n; /* bytes available there */ | 41 | uInt n; /* bytes available there */ |
| 40 | Byte *q; /* output window write pointer */ | 42 | Bytef *q; /* output window write pointer */ |
| 41 | uInt m; /* bytes to end of window or read pointer */ | 43 | uInt m; /* bytes to end of window or read pointer */ |
| 42 | uInt ml; /* mask for literal/length tree */ | 44 | uInt ml; /* mask for literal/length tree */ |
| 43 | uInt md; /* mask for distance tree */ | 45 | uInt md; /* mask for distance tree */ |
| 44 | uInt c; /* bytes to copy */ | 46 | uInt c; /* bytes to copy */ |
| 45 | uInt d; /* distance back to copy from */ | 47 | uInt d; /* distance back to copy from */ |
| 46 | Byte *r; /* copy source pointer */ | 48 | Bytef *r; /* copy source pointer */ |
| 47 | 49 | ||
| 48 | /* load input, output, bit values */ | 50 | /* load input, output, bit values */ |
| 49 | LOAD | 51 | LOAD |
