]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/subblock/subblock_decoder_helper.h
Imported to git.
[icculus/xz.git] / src / liblzma / subblock / subblock_decoder_helper.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       subblock_decoder_helper.h
4 /// \brief      Helper filter for the Subblock decoder
5 ///
6 /// This filter is used to indicate End of Input for subfilters needing it.
7 //
8 //  Copyright (C) 2007 Lasse Collin
9 //
10 //  This library is free software; you can redistribute it and/or
11 //  modify it under the terms of the GNU Lesser General Public
12 //  License as published by the Free Software Foundation; either
13 //  version 2.1 of the License, or (at your option) any later version.
14 //
15 //  This library is distributed in the hope that it will be useful,
16 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 //  Lesser General Public License for more details.
19 //
20 ///////////////////////////////////////////////////////////////////////////////
21
22 #ifndef LZMA_SUBBLOCK_DECODER_HELPER_H
23 #define LZMA_SUBBLOCK_DECODER_HELPER_H
24
25 #include "common.h"
26
27
28 typedef struct {
29         bool end_was_reached;
30 } lzma_options_subblock_helper;
31
32
33 extern lzma_ret lzma_subblock_decoder_helper_init(lzma_next_coder *next,
34                 lzma_allocator *allocator, const lzma_filter_info *filters);
35
36 #endif