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