annotate src/zlib-1.2.8/contrib/infback9/infback9.h @ 155:54abead6ecce

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