infblock.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. #if 0
  29. extern void zlib_inflate_set_dictionary (
  30. inflate_blocks_statef *s,
  31. const Byte *d, /* dictionary */
  32. uInt n); /* dictionary length */
  33. #endif /* 0 */
  34. #if 0
  35. extern int zlib_inflate_blocks_sync_point (
  36. inflate_blocks_statef *s);
  37. #endif /* 0 */
  38. #endif /* _INFBLOCK_H */