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