infblock.h 1.2 KB
Newer Older
M
Mark Adler 已提交
1
/* infblock.h -- header to use infblock.c
M
Mark Adler 已提交
2
 * Copyright (C) 1995-1996 Mark Adler
M
Mark Adler 已提交
3 4 5 6 7 8 9 10 11
 * For conditions of distribution and use, see copyright notice in zlib.h 
 */

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */

struct inflate_blocks_state;
M
Mark Adler 已提交
12
typedef struct inflate_blocks_state FAR inflate_blocks_statef;
M
Mark Adler 已提交
13

M
Mark Adler 已提交
14 15 16 17
extern inflate_blocks_statef * inflate_blocks_new OF((
    z_stream *z,
    check_func c,               /* check function */
    uInt w));                   /* window size */
M
Mark Adler 已提交
18

M
Mark Adler 已提交
19 20
extern int inflate_blocks OF((
    inflate_blocks_statef *,
M
Mark Adler 已提交
21
    z_stream *,
M
Mark Adler 已提交
22
    int));                      /* initial return code */
M
Mark Adler 已提交
23

M
Mark Adler 已提交
24 25
extern void inflate_blocks_reset OF((
    inflate_blocks_statef *,
M
Mark Adler 已提交
26
    z_stream *,
M
Mark Adler 已提交
27
    uLongf *));                  /* check value on output */
M
Mark Adler 已提交
28

M
Mark Adler 已提交
29 30
extern int inflate_blocks_free OF((
    inflate_blocks_statef *,
M
Mark Adler 已提交
31
    z_stream *,
M
Mark Adler 已提交
32
    uLongf *));                  /* check value on output */
M
Mark Adler 已提交
33 34 35 36 37 38

extern void inflate_set_dictionary OF((
    inflate_blocks_statef *s,
    z_stream *z,
    const Bytef *d,  /* dictionary */
    uInt  n));       /* dictionary length */