| /* |
| * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| * |
| * This code is free software; you can redistribute it and/or modify it |
| * under the terms of the GNU General Public License version 2 only, as |
| * published by the Free Software Foundation. Sun designates this |
| * particular file as subject to the "Classpath" exception as provided |
| * by Sun in the LICENSE file that accompanied this code. |
| * |
| * This code is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| * version 2 for more details (a copy is included in the LICENSE file that |
| * accompanied this code). |
| * |
| * You should have received a copy of the GNU General Public License version |
| * 2 along with this work; if not, write to the Free Software Foundation, |
| * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| * |
| * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| * CA 95054 USA or visit www.sun.com if you need additional information or |
| * have any questions. |
| */ |
| |
| /* |
| * This file is available under and governed by the GNU General Public |
| * License version 2 only, as published by the Free Software Foundation. |
| * However, the following notice accompanied the original version of this |
| * file and, per its terms, should not be removed: |
| * |
| * infblock.h -- header to use infblock.c |
| * Copyright (C) 1995-1998 Mark Adler |
| * 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; |
| typedef struct inflate_blocks_state FAR inflate_blocks_statef; |
| |
| extern inflate_blocks_statef * inflate_blocks_new OF(( |
| z_streamp z, |
| check_func c, /* check function */ |
| uInt w)); /* window size */ |
| |
| extern int inflate_blocks OF(( |
| inflate_blocks_statef *, |
| z_streamp , |
| int)); /* initial return code */ |
| |
| extern void inflate_blocks_reset OF(( |
| inflate_blocks_statef *, |
| z_streamp , |
| uLongf *)); /* check value on output */ |
| |
| extern int inflate_blocks_free OF(( |
| inflate_blocks_statef *, |
| z_streamp)); |
| |
| extern void inflate_set_dictionary OF(( |
| inflate_blocks_statef *s, |
| const Bytef *d, /* dictionary */ |
| uInt n)); /* dictionary length */ |
| |
| extern int inflate_blocks_sync_point OF(( |
| inflate_blocks_statef *s)); |