diff options
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)) | ||