xref: /freebsd/contrib/xz/src/liblzma/simple/simple_coder.h (revision 8a802df1de2d77fd0a62996bd785ca3f1326887f)
1 // SPDX-License-Identifier: 0BSD
2 
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file       simple_coder.h
6 /// \brief      Wrapper for simple filters
7 //
8 //  Author:     Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
11 
12 #ifndef LZMA_SIMPLE_CODER_H
13 #define LZMA_SIMPLE_CODER_H
14 
15 #include "common.h"
16 
17 
18 extern lzma_ret lzma_simple_x86_encoder_init(lzma_next_coder *next,
19 		const lzma_allocator *allocator,
20 		const lzma_filter_info *filters);
21 
22 extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
23 		const lzma_allocator *allocator,
24 		const lzma_filter_info *filters);
25 
26 
27 extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
28 		const lzma_allocator *allocator,
29 		const lzma_filter_info *filters);
30 
31 extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
32 		const lzma_allocator *allocator,
33 		const lzma_filter_info *filters);
34 
35 
36 extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
37 		const lzma_allocator *allocator,
38 		const lzma_filter_info *filters);
39 
40 extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
41 		const lzma_allocator *allocator,
42 		const lzma_filter_info *filters);
43 
44 
45 extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
46 		const lzma_allocator *allocator,
47 		const lzma_filter_info *filters);
48 
49 extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
50 		const lzma_allocator *allocator,
51 		const lzma_filter_info *filters);
52 
53 
54 extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
55 		const lzma_allocator *allocator,
56 		const lzma_filter_info *filters);
57 
58 extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
59 		const lzma_allocator *allocator,
60 		const lzma_filter_info *filters);
61 
62 
63 extern lzma_ret lzma_simple_arm64_encoder_init(lzma_next_coder *next,
64                const lzma_allocator *allocator,
65                const lzma_filter_info *filters);
66 
67 extern lzma_ret lzma_simple_arm64_decoder_init(lzma_next_coder *next,
68                const lzma_allocator *allocator,
69                const lzma_filter_info *filters);
70 
71 
72 extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
73 		const lzma_allocator *allocator,
74 		const lzma_filter_info *filters);
75 
76 extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
77 		const lzma_allocator *allocator,
78 		const lzma_filter_info *filters);
79 
80 
81 extern lzma_ret lzma_simple_riscv_encoder_init(lzma_next_coder *next,
82 		const lzma_allocator *allocator,
83 		const lzma_filter_info *filters);
84 
85 extern lzma_ret lzma_simple_riscv_decoder_init(lzma_next_coder *next,
86 		const lzma_allocator *allocator,
87 		const lzma_filter_info *filters);
88 
89 #endif
90