islzma.h 689 B

1234567891011121314151617181920212223
  1. /*
  2. islzma.h, by Jordan Russell for Inno Setup
  3. This file is public domain (like the LZMA SDK)
  4. */
  5. struct LZMAEncoderProps {
  6. int Algorithm;
  7. int BlockSize;
  8. int BTMode;
  9. int NumHashBytes;
  10. UInt32 DictionarySize;
  11. int NumBlockThreads;
  12. int NumFastBytes;
  13. int NumThreads;
  14. int NumThreadGroups;
  15. };
  16. SRes __stdcall LZMA_Init(BOOL LZMA2, struct LZMAHandle **handle);
  17. SRes __stdcall LZMA_SetProps(struct LZMAHandle *handle,
  18. struct LZMAEncoderProps *encProps, size_t encPropsSize);
  19. SRes __stdcall LZMA_Encode(struct LZMAHandle *handle, ISeqInStream *inStream,
  20. ISeqOutStream *outStream, ICompressProgress *progress);
  21. SRes __stdcall LZMA_End(struct LZMAHandle *handle);