Back to index

avfs  1.0.1
infblock.h
Go to the documentation of this file.
00001 /* infblock.h -- header to use infblock.c
00002  * Copyright (C) 1995-2002 Mark Adler
00003  * For conditions of distribution and use, see copyright notice in zlib.h 
00004  */
00005 
00006 /* WARNING: this file should *not* be used by applications. It is
00007    part of the implementation of the compression library and is
00008    subject to change. Applications should only use zlib.h.
00009  */
00010 
00011 struct inflate_blocks_state;
00012 typedef struct inflate_blocks_state FAR inflate_blocks_statef;
00013 
00014 extern inflate_blocks_statef * inflate_blocks_new OF((
00015     z_streamp z,
00016     check_func c,               /* check function */
00017     uInt w));                   /* window size */
00018 
00019 extern int inflate_blocks OF((
00020     inflate_blocks_statef *,
00021     z_streamp ,
00022     int));                      /* initial return code */
00023 
00024 extern void inflate_blocks_reset OF((
00025     inflate_blocks_statef *,
00026     z_streamp ,
00027     uLongf *));                  /* check value on output */
00028 
00029 extern int inflate_blocks_free OF((
00030     inflate_blocks_statef *,
00031     z_streamp));
00032 
00033 extern void inflate_set_dictionary OF((
00034     inflate_blocks_statef *s,
00035     const Bytef *d,  /* dictionary */
00036     uInt  n));       /* dictionary length */
00037 
00038 extern int inflate_blocks_sync_point OF((
00039     inflate_blocks_statef *s));
00040 
00041 extern int inflate_blocks_save OF((
00042     char **bufp,
00043     int at,
00044     inflate_blocks_statef *s,
00045     z_streamp z,
00046     uInt w));
00047 
00048 extern inflate_blocks_statef * inflate_blocks_restore OF((
00049     char **bufp,
00050     z_streamp z,
00051     check_func c,
00052     uInt w));