Chris@4: /* infback9.h -- header for using inflateBack9 functions Chris@4: * Copyright (C) 2003 Mark Adler Chris@4: * For conditions of distribution and use, see copyright notice in zlib.h Chris@4: */ Chris@4: Chris@4: /* Chris@4: * This header file and associated patches provide a decoder for PKWare's Chris@4: * undocumented deflate64 compression method (method 9). Use with infback9.c, Chris@4: * inftree9.h, inftree9.c, and inffix9.h. These patches are not supported. Chris@4: * This should be compiled with zlib, since it uses zutil.h and zutil.o. Chris@4: * This code has not yet been tested on 16-bit architectures. See the Chris@4: * comments in zlib.h for inflateBack() usage. These functions are used Chris@4: * identically, except that there is no windowBits parameter, and a 64K Chris@4: * window must be provided. Also if int's are 16 bits, then a zero for Chris@4: * the third parameter of the "out" function actually means 65536UL. Chris@4: * zlib.h must be included before this header file. Chris@4: */ Chris@4: Chris@4: #ifdef __cplusplus Chris@4: extern "C" { Chris@4: #endif Chris@4: Chris@4: ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm, Chris@4: in_func in, void FAR *in_desc, Chris@4: out_func out, void FAR *out_desc)); Chris@4: ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm)); Chris@4: ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm, Chris@4: unsigned char FAR *window, Chris@4: const char *version, Chris@4: int stream_size)); Chris@4: #define inflateBack9Init(strm, window) \ Chris@4: inflateBack9Init_((strm), (window), \ Chris@4: ZLIB_VERSION, sizeof(z_stream)) Chris@4: Chris@4: #ifdef __cplusplus Chris@4: } Chris@4: #endif