1/* infblock.h -- header to use infblock.c 2 * Copyright (C) 1995-2002 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 12/* $Id: infblock.h 14574 2005-10-29 16:27:43Z bonefish $ */ 13 14/* struct inflate_blocks_state; */ 15typedef struct inflate_blocks_state FAR inflate_blocks_statef; 16 17extern inflate_blocks_statef * inflate_blocks_new OF(( 18 z_streamp z, 19 check_func c, /* check function */ 20 uInt w)); /* window size */ 21 22extern int inflate_blocks OF(( 23 inflate_blocks_statef *, 24 z_streamp , 25 int)); /* initial return code */ 26 27extern void inflate_blocks_reset OF(( 28 inflate_blocks_statef *, 29 z_streamp , 30 uLongf *)); /* check value on output */ 31 32extern int inflate_blocks_free OF(( 33 inflate_blocks_statef *, 34 z_streamp)); 35 36extern void inflate_set_dictionary OF(( 37 inflate_blocks_statef *s, 38 const Bytef *d, /* dictionary */ 39 uInt n)); /* dictionary length */ 40 41extern int inflate_blocks_sync_point OF(( 42 inflate_blocks_statef *s)); 43