infblock.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. /* WARNING: this file should *not* be used by applications. It is
  6. part of the implementation of the compression library and is
  7. subject to change. Applications should only use zlib.h.
  8. */
  9. #ifndef _INFBLOCK_H
  10. #define _INFBLOCK_H
  11. struct inflate_blocks_state;
  12. typedef struct inflate_blocks_state inflate_blocks_statef;
  13. extern inflate_blocks_statef * zlib_inflate_blocks_new (
  14. z_streamp z,
  15. check_func c, /* check function */
  16. uInt w); /* window size */
  17. extern int zlib_inflate_blocks (
  18. inflate_blocks_statef *,
  19. z_streamp ,
  20. int); /* initial return code */
  21. extern void zlib_inflate_blocks_reset (
  22. inflate_blocks_statef *,
  23. z_streamp ,
  24. uLong *); /* check value on output */
  25. extern int zlib_inflate_blocks_free (
  26. inflate_blocks_statef *,
  27. z_streamp);
  28. extern void zlib_inflate_set_dictionary (
  29. inflate_blocks_statef *s,
  30. const Byte *d, /* dictionary */
  31. uInt n); /* dictionary length */
  32. extern int zlib_inflate_blocks_sync_point (
  33. inflate_blocks_statef *s);
  34. #endif /* _INFBLOCK_H */