summaryrefslogtreecommitdiffstats
path: root/LzmaEnc.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:26:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 14:26:20 +0000
commitd69516264bbac7997c5ee35237c4af1749e4f8c8 (patch)
tree5f7dea8e7c5219190fadbba258c85093b257c5d4 /LzmaEnc.h
parentInitial commit. (diff)
downloadpdlzip-d69516264bbac7997c5ee35237c4af1749e4f8c8.tar.xz
pdlzip-d69516264bbac7997c5ee35237c4af1749e4f8c8.zip
Adding upstream version 1.12.upstream/1.12upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--LzmaEnc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/LzmaEnc.h b/LzmaEnc.h
new file mode 100644
index 0000000..b607be8
--- /dev/null
+++ b/LzmaEnc.h
@@ -0,0 +1,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);