ce188d4d |
1 | /* XzEnc.h -- Xz Encode\r |
2 | 2011-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 |
11 | EXTERN_C_BEGIN\r |
12 | \r |
13 | typedef 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 |
21 | void XzFilterProps_Init(CXzFilterProps *p);\r |
22 | \r |
23 | typedef struct\r |
24 | {\r |
25 | const CLzma2EncProps *lzma2Props;\r |
26 | const CXzFilterProps *filterProps;\r |
27 | unsigned checkId;\r |
28 | } CXzProps;\r |
29 | \r |
30 | void XzProps_Init(CXzProps *p);\r |
31 | \r |
32 | SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,\r |
33 | const CXzProps *props, ICompressProgress *progress);\r |
34 | \r |
35 | SRes Xz_EncodeEmpty(ISeqOutStream *outStream);\r |
36 | \r |
37 | EXTERN_C_END\r |
38 | \r |
39 | #endif\r |