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