source: rtems/cpukit/zlib/contrib/infback9/infback9.h @ 959f7df2

4.104.114.84.95
Last change on this file since 959f7df2 was 959f7df2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/28/05 at 07:22:42

Import of zlib-1.2.2.2.tar.gz

  • Property mode set to 100644
File size: 1.5 KB
Line 
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 should be compiled with zlib, since it uses zutil.h and zutil.o.
11 * This code has not yet been tested on 16-bit architectures.  See the
12 * comments in zlib.h for inflateBack() usage.  These functions are used
13 * identically, except that there is no windowBits parameter, and a 64K
14 * window must be provided.  Also if int's are 16 bits, then a zero for
15 * the third parameter of the "out" function actually means 65536UL.
16 * zlib.h must be included before this header file.
17 */
18
19ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm,
20                                    in_func in, void FAR *in_desc,
21                                    out_func out, void FAR *out_desc));
22ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm));
23ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm,
24                                         unsigned char FAR *window,
25                                         const char *version,
26                                         int stream_size));
27#define inflateBack9Init(strm, window) \
28        inflateBack9Init_((strm), (window), \
29        ZLIB_VERSION, sizeof(z_stream))
Note: See TracBrowser for help on using the repository browser.