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