annotate src/zlib-1.2.7/contrib/infback9/infback9.h @ 23:619f715526df sv_v2.1

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