• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

contrib/zlib/contrib/infback9/infback9.h

00001 /* infback9.h -- header for using inflateBack9 functions
00002  * Copyright (C) 2003 Mark Adler
00003  * For conditions of distribution and use, see copyright notice in zlib.h
00004  */
00005 
00006 /*
00007  * This header file and associated patches provide a decoder for PKWare's
00008  * undocumented deflate64 compression method (method 9).  Use with infback9.c,
00009  * inftree9.h, inftree9.c, and inffix9.h.  These patches are not supported.
00010  * This should be compiled with zlib, since it uses zutil.h and zutil.o.
00011  * This code has not yet been tested on 16-bit architectures.  See the
00012  * comments in zlib.h for inflateBack() usage.  These functions are used
00013  * identically, except that there is no windowBits parameter, and a 64K
00014  * window must be provided.  Also if int's are 16 bits, then a zero for
00015  * the third parameter of the "out" function actually means 65536UL.
00016  * zlib.h must be included before this header file.
00017  */
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 ZEXTERN int ZEXPORT inflateBack9 OF((z_stream FAR *strm,
00024                                     in_func in, void FAR *in_desc,
00025                                     out_func out, void FAR *out_desc));
00026 ZEXTERN int ZEXPORT inflateBack9End OF((z_stream FAR *strm));
00027 ZEXTERN int ZEXPORT inflateBack9Init_ OF((z_stream FAR *strm,
00028                                          unsigned char FAR *window,
00029                                          const char *version,
00030                                          int stream_size));
00031 #define inflateBack9Init(strm, window) \
00032         inflateBack9Init_((strm), (window), \
00033         ZLIB_VERSION, sizeof(z_stream))
00034 
00035 #ifdef __cplusplus
00036 }
00037 #endif

Generated on Wed Oct 20 2010 11:12:17 for APBS by  doxygen 1.7.2