summaryrefslogtreecommitdiffstats
path: root/LzmaEnc.h
blob: b607be8b1888af6fcfeab7a8d01d2c64ec137ca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* LzmaEnc.h -- LZMA Encoder
2009-02-07 : Igor Pavlov : Public domain */


/* ---------- CLzmaEncHandle Interface ---------- */

/* LzmaEnc_* functions can return the following exit codes:
  SZ_OK           - OK
  SZ_ERROR_WRITE  - Write callback error.
*/

typedef void * CLzmaEncHandle;

CLzmaEncHandle LzmaEnc_Init( const int dict_size, const int match_len_limit,
                             const int infd, const int outfd );
void LzmaEnc_Free(CLzmaEncHandle p);
int LzmaEnc_Encode(CLzmaEncHandle p);