Leaked source code of windows server 2003
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.

32 lines
858 B

  1. /*
  2. * decapi.h
  3. *
  4. * Decoder API definitions
  5. */
  6. bool __stdcall LZX_DecodeInit(
  7. t_decoder_context **dec_context,
  8. long compression_window_size,
  9. PFNALLOC pfnma,
  10. HANDLE hAllocator
  11. );
  12. void __fastcall LZX_DecodeNewGroup(t_decoder_context *context);
  13. int __stdcall LZX_Decode(
  14. t_decoder_context *context,
  15. long bytes_to_decode,
  16. byte * compressed_input_buffer,
  17. long compressed_input_size,
  18. byte * uncompressed_output_buffer,
  19. long uncompressed_output_size,
  20. long * bytes_decoded
  21. );
  22. bool __fastcall LZX_DecodeInsertDictionary(
  23. t_decoder_context *context,
  24. const byte * data,
  25. unsigned long data_size
  26. );