xref: /inferno-os/libfreetype/infblock.h (revision 37da2899f40661e3e9631e497da8dc59b971cbd0)
1*37da2899SCharles.Forsyth /* infblock.h -- header to use infblock.c
2*37da2899SCharles.Forsyth  * Copyright (C) 1995-2002 Mark Adler
3*37da2899SCharles.Forsyth  * For conditions of distribution and use, see copyright notice in zlib.h
4*37da2899SCharles.Forsyth  */
5*37da2899SCharles.Forsyth 
6*37da2899SCharles.Forsyth /* WARNING: this file should *not* be used by applications. It is
7*37da2899SCharles.Forsyth    part of the implementation of the compression library and is
8*37da2899SCharles.Forsyth    subject to change. Applications should only use zlib.h.
9*37da2899SCharles.Forsyth  */
10*37da2899SCharles.Forsyth 
11*37da2899SCharles.Forsyth #ifndef _INFBLOCK_H
12*37da2899SCharles.Forsyth #define _INFBLOCK_H
13*37da2899SCharles.Forsyth 
14*37da2899SCharles.Forsyth struct inflate_blocks_state;
15*37da2899SCharles.Forsyth typedef struct inflate_blocks_state FAR inflate_blocks_statef;
16*37da2899SCharles.Forsyth 
17*37da2899SCharles.Forsyth local  inflate_blocks_statef * inflate_blocks_new OF((
18*37da2899SCharles.Forsyth     z_streamp z,
19*37da2899SCharles.Forsyth     check_func c,               /* check function */
20*37da2899SCharles.Forsyth     uInt w));                   /* window size */
21*37da2899SCharles.Forsyth 
22*37da2899SCharles.Forsyth local  int inflate_blocks OF((
23*37da2899SCharles.Forsyth     inflate_blocks_statef *,
24*37da2899SCharles.Forsyth     z_streamp ,
25*37da2899SCharles.Forsyth     int));                      /* initial return code */
26*37da2899SCharles.Forsyth 
27*37da2899SCharles.Forsyth local  void inflate_blocks_reset OF((
28*37da2899SCharles.Forsyth     inflate_blocks_statef *,
29*37da2899SCharles.Forsyth     z_streamp ,
30*37da2899SCharles.Forsyth     uLongf *));                  /* check value on output */
31*37da2899SCharles.Forsyth 
32*37da2899SCharles.Forsyth local  int inflate_blocks_free OF((
33*37da2899SCharles.Forsyth     inflate_blocks_statef *,
34*37da2899SCharles.Forsyth     z_streamp));
35*37da2899SCharles.Forsyth 
36*37da2899SCharles.Forsyth #endif /* _INFBLOCK_H */
37