Merge pull request #511 from negativeExponent/updates
[pcsx_rearmed.git] / deps / lzma-16.04 / C / XzEnc.h
CommitLineData
ce188d4d 1/* XzEnc.h -- Xz Encode\r
22011-02-07 : Igor Pavlov : Public domain */\r
3\r
4#ifndef __XZ_ENC_H\r
5#define __XZ_ENC_H\r
6\r
7#include "Lzma2Enc.h"\r
8\r
9#include "Xz.h"\r
10\r
11EXTERN_C_BEGIN\r
12\r
13typedef struct\r
14{\r
15 UInt32 id;\r
16 UInt32 delta;\r
17 UInt32 ip;\r
18 int ipDefined;\r
19} CXzFilterProps;\r
20\r
21void XzFilterProps_Init(CXzFilterProps *p);\r
22\r
23typedef struct\r
24{\r
25 const CLzma2EncProps *lzma2Props;\r
26 const CXzFilterProps *filterProps;\r
27 unsigned checkId;\r
28} CXzProps;\r
29\r
30void XzProps_Init(CXzProps *p);\r
31\r
32SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,\r
33 const CXzProps *props, ICompressProgress *progress);\r
34\r
35SRes Xz_EncodeEmpty(ISeqOutStream *outStream);\r
36\r
37EXTERN_C_END\r
38\r
39#endif\r