diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:37 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:22:37 -0700 |
commit | 4b5a43a219d51066c01ff2ab86af18b967f2d0dd (patch) | |
tree | 4dcaf0cd18751d04cf638a9a6ec521990d4f2e90 /contrib/infback9/infback9.h | |
parent | 086e982175da84b3db958191031380794315f95f (diff) | |
download | zlib-1.2.0.5.tar.gz zlib-1.2.0.5.tar.bz2 zlib-1.2.0.5.zip |
zlib 1.2.0.5v1.2.0.5
Diffstat (limited to 'contrib/infback9/infback9.h')
-rw-r--r-- | contrib/infback9/infback9.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/infback9/infback9.h b/contrib/infback9/infback9.h new file mode 100644 index 0000000..fb7c73e --- /dev/null +++ b/contrib/infback9/infback9.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* infback9.h -- header for using inflateBack9 functions | ||
2 | * Copyright (C) 2003 Mark Adler | ||
3 | * For conditions of distribution and use, see copyright notice in zlib.h | ||
4 | */ | ||
5 | |||
6 | /* | ||
7 | * This header file and associated patches provide a decoder for PKWare's | ||
8 | * undocumented deflate64 compression method (method 9). Use with infback9.c, | ||
9 | * inftree9.h, inftree9.c, and inffix9.h. These patches are not supported. | ||
10 | * This code will almost certainly not work on 16-bit architectures. See the | ||
11 | * comments in zlib.h for inflateBack() usage. These functions are used | ||
12 | * identically, except that there is no windowBits parameter, and a 64K | ||
13 | * window must be provided. zlib.h must be included before this header file. | ||
14 | */ | ||
15 | |||
16 | ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm, | ||
17 | in_func in, void FAR *in_desc, | ||
18 | out_func out, void FAR *out_desc)); | ||
19 | ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm)); | ||
20 | ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm, | ||
21 | unsigned char FAR *window, | ||
22 | const char *version, | ||
23 | int stream_size)); | ||
24 | #define inflateBack9Init(strm, window) \ | ||
25 | inflateBack9Init_((strm), (window), \ | ||
26 | ZLIB_VERSION, sizeof(z_stream)) | ||