| 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 |
| 4 | */ |
| 5 | |
| 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. |
| 9 | */ |
| 10 | |
| 11 | struct inflate_blocks_state; |
| 12 | typedef struct inflate_blocks_state FAR inflate_blocks_statef; |
| 13 | |
| 14 | extern inflate_blocks_statef * inflate_blocks_new OF(( |
| 15 | z_streamp z, |
| 16 | check_func c, /* check function */ |
| 17 | uInt w)); /* window size */ |
| 18 | |
| 19 | extern int inflate_blocks OF(( |
| 20 | inflate_blocks_statef *, |
| 21 | z_streamp , |
| 22 | int)); /* initial return code */ |
| 23 | |
| 24 | extern void inflate_blocks_reset OF(( |
| 25 | inflate_blocks_statef *, |
| 26 | z_streamp , |
| 27 | uLongf *)); /* check value on output */ |
| 28 | |
| 29 | extern int inflate_blocks_free OF(( |
| 30 | inflate_blocks_statef *, |
| 31 | z_streamp)); |
| 32 | |
| 33 | extern void inflate_set_dictionary OF(( |
| 34 | inflate_blocks_statef *s, |
| 35 | const Bytef *d, /* dictionary */ |
| 36 | uInt n)); /* dictionary length */ |
| 37 | |
| 38 | extern int inflate_blocks_sync_point OF(( |
| 39 | inflate_blocks_statef *s)); |