forked from jrsoftware/issrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathislzma.h
More file actions
23 lines (20 loc) · 734 Bytes
/
islzma.h
File metadata and controls
23 lines (20 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
islzma.h, by Jordan Russell for Inno Setup
This file is public domain (like the LZMA SDK)
$jrsoftware: issrc/Projects/lzma2/Encoder/islzma.h,v 1.2 2010/03/24 19:55:40 jr Exp $
*/
struct LZMAEncoderProps {
int Algorithm;
int BlockSize;
int BTMode;
int DictionarySize;
int NumBlockThreads;
int NumFastBytes;
int NumThreads;
};
SRes __stdcall LZMA_Init(BOOL LZMA2, struct LZMAHandle **handle);
SRes __stdcall LZMA_SetProps(struct LZMAHandle *handle,
struct LZMAEncoderProps *encProps, size_t encPropsSize);
SRes __stdcall LZMA_Encode(struct LZMAHandle *handle, ISeqInStream *inStream,
ISeqOutStream *outStream, ICompressProgress *progress);
SRes __stdcall LZMA_End(struct LZMAHandle *handle);