aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/lzip_decoder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-10-08 00:29:20 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-11-09 14:25:26 +0200
commit034086e1ae1459210837a24e04878435c86dc41b (patch)
tree550b52e3a8da37a761cd09d57b1b3eeff44ed9c9 /src/liblzma/common/lzip_decoder.h
parentliblzma: Add .lz (lzip) decompression support (format versions 0 and 1). (diff)
downloadxz-034086e1ae1459210837a24e04878435c86dc41b.tar.xz
liblzma: Add .lz support to lzma_auto_decoder().
Thanks to Michał Górny for the original patch.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/lzip_decoder.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/liblzma/common/lzip_decoder.h b/src/liblzma/common/lzip_decoder.h
new file mode 100644
index 00000000..33a01c35
--- /dev/null
+++ b/src/liblzma/common/lzip_decoder.h
@@ -0,0 +1,22 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \file lzip_decoder.h
+/// \brief Decodes .lz (lzip) files
+//
+// Author: Michał Górny
+//
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef LZMA_LZIP_DECODER_H
+#define LZMA_LZIP_DECODER_H
+
+#include "common.h"
+
+extern lzma_ret lzma_lzip_decoder_init(
+ lzma_next_coder *next, const lzma_allocator *allocator,
+ uint64_t memlimit, uint32_t flags);
+
+#endif