annotate src/zlib-1.2.7/contrib/infback9/infback9.h @ 89:8a15ff55d9af

Add bzip2, zlib, liblo, portaudio sources
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 20 Mar 2013 13:59:52 +0000
parents
children
rev   line source
cannam@89 1 /* infback9.h -- header for using inflateBack9 functions
cannam@89 2 * Copyright (C) 2003 Mark Adler
cannam@89 3 * For conditions of distribution and use, see copyright notice in zlib.h
cannam@89 4 */
cannam@89 5
cannam@89 6 /*
cannam@89 7 * This header file and associated patches provide a decoder for PKWare's
cannam@89 8 * undocumented deflate64 compression method (method 9). Use with infback9.c,
cannam@89 9 * inftree9.h, inftree9.c, and inffix9.h. These patches are not supported.
cannam@89 10 * This should be compiled with zlib, since it uses zutil.h and zutil.o.
cannam@89 11 * This code has not yet been tested on 16-bit architectures. See the
cannam@89 12 * comments in zlib.h for inflateBack() usage. These functions are used
cannam@89 13 * identically, except that there is no windowBits parameter, and a 64K
cannam@89 14 * window must be provided. Also if int's are 16 bits, then a zero for
cannam@89 15 * the third parameter of the "out" function actually means 65536UL.
cannam@89 16 * zlib.h must be included before this header file.
cannam@89 17 */
cannam@89 18
cannam@89 19 #ifdef __cplusplus
cannam@89 20 extern "C" {
cannam@89 21 #endif
cannam@89 22
cannam@89 23 ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm,
cannam@89 24 in_func in, void FAR *in_desc,
cannam@89 25 out_func out, void FAR *out_desc));
cannam@89 26 ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm));
cannam@89 27 ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm,
cannam@89 28 unsigned char FAR *window,
cannam@89 29 const char *version,
cannam@89 30 int stream_size));
cannam@89 31 #define inflateBack9Init(strm, window) \
cannam@89 32 inflateBack9Init_((strm), (window), \
cannam@89 33 ZLIB_VERSION, sizeof(z_stream))
cannam@89 34
cannam@89 35 #ifdef __cplusplus
cannam@89 36 }
cannam@89 37 #endif