Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* infcodes.h -- header to use infcodes.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 _INFCODES_H |
| 12 | #define _INFCODES_H |
| 13 | |
| 14 | #include "infblock.h" |
| 15 | |
| 16 | struct inflate_codes_state; |
| 17 | typedef struct inflate_codes_state inflate_codes_statef; |
| 18 | |
| 19 | extern inflate_codes_statef *zlib_inflate_codes_new ( |
| 20 | uInt, uInt, |
| 21 | inflate_huft *, inflate_huft *, |
| 22 | z_streamp ); |
| 23 | |
| 24 | extern int zlib_inflate_codes ( |
| 25 | inflate_blocks_statef *, |
| 26 | z_streamp , |
| 27 | int); |
| 28 | |
| 29 | extern void zlib_inflate_codes_free ( |
| 30 | inflate_codes_statef *, |
| 31 | z_streamp ); |
| 32 | |
| 33 | #endif /* _INFCODES_H */ |