Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | #ifndef _INFBLOCK_H |
| 12 | #define _INFBLOCK_H |
| 13 | |
| 14 | struct inflate_blocks_state; |
| 15 | typedef struct inflate_blocks_state inflate_blocks_statef; |
| 16 | |
| 17 | extern inflate_blocks_statef * zlib_inflate_blocks_new ( |
| 18 | z_streamp z, |
| 19 | check_func c, /* check function */ |
| 20 | uInt w); /* window size */ |
| 21 | |
| 22 | extern int zlib_inflate_blocks ( |
| 23 | inflate_blocks_statef *, |
| 24 | z_streamp , |
| 25 | int); /* initial return code */ |
| 26 | |
| 27 | extern void zlib_inflate_blocks_reset ( |
| 28 | inflate_blocks_statef *, |
| 29 | z_streamp , |
| 30 | uLong *); /* check value on output */ |
| 31 | |
| 32 | extern int zlib_inflate_blocks_free ( |
| 33 | inflate_blocks_statef *, |
| 34 | z_streamp); |
| 35 | |
Adrian Bunk | 87c2ce3 | 2006-01-09 20:54:07 -0800 | [diff] [blame] | 36 | #if 0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | extern void zlib_inflate_set_dictionary ( |
| 38 | inflate_blocks_statef *s, |
| 39 | const Byte *d, /* dictionary */ |
| 40 | uInt n); /* dictionary length */ |
Adrian Bunk | 87c2ce3 | 2006-01-09 20:54:07 -0800 | [diff] [blame] | 41 | #endif /* 0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
Adrian Bunk | 87c2ce3 | 2006-01-09 20:54:07 -0800 | [diff] [blame] | 43 | #if 0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | extern int zlib_inflate_blocks_sync_point ( |
| 45 | inflate_blocks_statef *s); |
Adrian Bunk | 87c2ce3 | 2006-01-09 20:54:07 -0800 | [diff] [blame] | 46 | #endif /* 0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
| 48 | #endif /* _INFBLOCK_H */ |