diff options
Diffstat (limited to 'inflate.h')
-rw-r--r-- | inflate.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/inflate.h b/inflate.h deleted file mode 100644 index 843224f..0000000 --- a/inflate.h +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | /* temporary kludge assuming single pass decompression */ | ||
2 | |||
3 | /* $Id: inflate.h,v 1.2 1995/04/11 14:47:32 jloup Exp $ */ | ||
4 | |||
5 | #include <stdio.h> | ||
6 | |||
7 | #define NEXTBYTE \ | ||
8 | (istrm->total_in++, istrm->avail_in-- == 0 ? \ | ||
9 | (z_error("too small"), 0) : *istrm->next_in++) | ||
10 | |||
11 | #define FLUSH(n) { \ | ||
12 | if (istrm->avail_out < n) z_error("too big"); \ | ||
13 | istrm->avail_out -= n; \ | ||
14 | memcpy(istrm->next_out, slide, n); \ | ||
15 | istrm->next_out += n; \ | ||
16 | istrm->total_out += n; \ | ||
17 | } | ||
18 | #define WSIZE istrm->state->w_size | ||
19 | #define slide istrm->state->window | ||
20 | #define memzero(a,s) memset((a),0,(s)) | ||
21 | #define inflate z_inflate | ||
22 | #define qflag 1 | ||