1 ///////////////////////////////////////////////////////////////////////////////
3 /// \file simple_coder.h
4 /// \brief Wrapper for simple filters
7 // Copyright (C) 2007 Lasse Collin
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
19 ///////////////////////////////////////////////////////////////////////////////
21 #ifndef LZMA_SIMPLE_CODER_H
22 #define LZMA_SIMPLE_CODER_H
27 extern lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next,
28 lzma_allocator *allocator, const lzma_filter_info *filters);
30 extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
31 lzma_allocator *allocator, const lzma_filter_info *filters);
34 extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
35 lzma_allocator *allocator, const lzma_filter_info *filters);
37 extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
38 lzma_allocator *allocator, const lzma_filter_info *filters);
41 extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
42 lzma_allocator *allocator, const lzma_filter_info *filters);
44 extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
45 lzma_allocator *allocator, const lzma_filter_info *filters);
48 extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
49 lzma_allocator *allocator, const lzma_filter_info *filters);
51 extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
52 lzma_allocator *allocator, const lzma_filter_info *filters);
55 extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
56 lzma_allocator *allocator, const lzma_filter_info *filters);
58 extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
59 lzma_allocator *allocator, const lzma_filter_info *filters);
62 extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
63 lzma_allocator *allocator, const lzma_filter_info *filters);
65 extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
66 lzma_allocator *allocator, const lzma_filter_info *filters);