infblock.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* infblock.h -- header to use infblock.c
  2. * Copyright (C) 1995-1996 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. struct inflate_blocks_state;
  10. typedef struct inflate_blocks_state FAR inflate_blocks_statef;
  11. extern inflate_blocks_statef * inflate_blocks_new OF((
  12. z_streamp z,
  13. check_func c, /* check function */
  14. uInt w)); /* window size */
  15. extern int inflate_blocks OF((
  16. inflate_blocks_statef *,
  17. z_streamp ,
  18. int)); /* initial return code */
  19. extern void inflate_blocks_reset OF((
  20. inflate_blocks_statef *,
  21. z_streamp ,
  22. uLongf *)); /* check value on output */
  23. extern int inflate_blocks_free OF((
  24. inflate_blocks_statef *,
  25. z_streamp ,
  26. uLongf *)); /* check value on output */
  27. extern void inflate_set_dictionary OF((
  28. inflate_blocks_statef *s,
  29. const Bytef *d, /* dictionary */
  30. uInt n)); /* dictionary length */