1 /* infblock.h -- header to use infblock.c
2 * Copyright (C) 1995-1998 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
6 /* WARNING: this file should *not* be used by applications. It is
7 part of the implementation of the compression library and is
8 subject to change. Applications should only use zlib.h.
14 struct inflate_blocks_state
;
15 typedef struct inflate_blocks_state inflate_blocks_statef
;
17 extern inflate_blocks_statef
* zlib_inflate_blocks_new (
19 check_func c
, /* check function */
20 uInt w
); /* window size */
22 extern int zlib_inflate_blocks (
23 inflate_blocks_statef
*,
25 int); /* initial return code */
27 extern void zlib_inflate_blocks_reset (
28 inflate_blocks_statef
*,
30 uLong
*); /* check value on output */
32 extern int zlib_inflate_blocks_free (
33 inflate_blocks_statef
*,
36 extern void zlib_inflate_set_dictionary (
37 inflate_blocks_statef
*s
,
38 const Byte
*d
, /* dictionary */
39 uInt n
); /* dictionary length */
41 extern int zlib_inflate_blocks_sync_point (
42 inflate_blocks_statef
*s
);
44 #endif /* _INFBLOCK_H */