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