summaryrefslogtreecommitdiffstats
path: root/contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h')
-rw-r--r--contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h b/contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h
new file mode 100644
index 0000000..18dcbb3
--- /dev/null
+++ b/contrib/xz/src/liblzma/subblock/subblock_decoder_helper.h
@@ -0,0 +1,29 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \file subblock_decoder_helper.h
+/// \brief Helper filter for the Subblock decoder
+///
+/// This filter is used to indicate End of Input for subfilters needing it.
+//
+// Author: Lasse Collin
+//
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef LZMA_SUBBLOCK_DECODER_HELPER_H
+#define LZMA_SUBBLOCK_DECODER_HELPER_H
+
+#include "common.h"
+
+
+typedef struct {
+ bool end_was_reached;
+} lzma_options_subblock_helper;
+
+
+extern lzma_ret lzma_subblock_decoder_helper_init(lzma_next_coder *next,
+ lzma_allocator *allocator, const lzma_filter_info *filters);
+
+#endif
OpenPOWER on IntegriCloud