Fix version.sh compatiblity with Solaris
[xz/debian.git] / src / liblzma / simple / simple_coder.h
blob2b762d50071d0ea842e5e4c31f8e41a5502b34c9
1 // SPDX-License-Identifier: 0BSD
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file simple_coder.h
6 /// \brief Wrapper for simple filters
7 //
8 // Author: Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef LZMA_SIMPLE_CODER_H
13 #define LZMA_SIMPLE_CODER_H
15 #include "common.h"
18 extern lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next,
19 const lzma_allocator *allocator,
20 const lzma_filter_info *filters);
22 extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
23 const lzma_allocator *allocator,
24 const lzma_filter_info *filters);
27 extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
28 const lzma_allocator *allocator,
29 const lzma_filter_info *filters);
31 extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
32 const lzma_allocator *allocator,
33 const lzma_filter_info *filters);
36 extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
37 const lzma_allocator *allocator,
38 const lzma_filter_info *filters);
40 extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
41 const lzma_allocator *allocator,
42 const lzma_filter_info *filters);
45 extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
46 const lzma_allocator *allocator,
47 const lzma_filter_info *filters);
49 extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
50 const lzma_allocator *allocator,
51 const lzma_filter_info *filters);
54 extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
55 const lzma_allocator *allocator,
56 const lzma_filter_info *filters);
58 extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
59 const lzma_allocator *allocator,
60 const lzma_filter_info *filters);
63 extern lzma_ret lzma_simple_arm64_encoder_init(lzma_next_coder *next,
64 const lzma_allocator *allocator,
65 const lzma_filter_info *filters);
67 extern lzma_ret lzma_simple_arm64_decoder_init(lzma_next_coder *next,
68 const lzma_allocator *allocator,
69 const lzma_filter_info *filters);
72 extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
73 const lzma_allocator *allocator,
74 const lzma_filter_info *filters);
76 extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
77 const lzma_allocator *allocator,
78 const lzma_filter_info *filters);
81 extern lzma_ret lzma_simple_riscv_encoder_init(lzma_next_coder *next,
82 const lzma_allocator *allocator,
83 const lzma_filter_info *filters);
85 extern lzma_ret lzma_simple_riscv_decoder_init(lzma_next_coder *next,
86 const lzma_allocator *allocator,
87 const lzma_filter_info *filters);
89 #endif