Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
630 B

  1. /*
  2. * decapi.h
  3. *
  4. * Decoder API definitions
  5. */
  6. bool LZX_DecodeInit(
  7. t_decoder_context *context,
  8. long compression_window_size,
  9. PFNALLOC pfnma,
  10. PFNFREE pfnmf,
  11. PFNOPEN pfnopen,
  12. PFNREAD pfnread,
  13. PFNWRITE pfnwrite,
  14. PFNCLOSE pfnclose,
  15. PFNSEEK pfnseek
  16. );
  17. void LZX_DecodeFree(t_decoder_context *context);
  18. void LZX_DecodeNewGroup(t_decoder_context *context);
  19. int LZX_Decode(
  20. t_decoder_context *context,
  21. long bytes_to_decode,
  22. byte * compressed_input_buffer,
  23. long compressed_input_size,
  24. byte * uncompressed_output_buffer,
  25. long uncompressed_output_size,
  26. long * bytes_decoded
  27. );