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