xref: /freebsd/contrib/xz/src/liblzma/simple/simple_coder.h (revision 8d20be1e22095c27faf8fe8b2f0d089739cc742e)
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 		lzma_allocator *allocator, const lzma_filter_info *filters);
21 
22 extern lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next,
23 		lzma_allocator *allocator, const lzma_filter_info *filters);
24 
25 
26 extern lzma_ret lzma_simple_powerpc_encoder_init(lzma_next_coder *next,
27 		lzma_allocator *allocator, const lzma_filter_info *filters);
28 
29 extern lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next,
30 		lzma_allocator *allocator, const lzma_filter_info *filters);
31 
32 
33 extern lzma_ret lzma_simple_ia64_encoder_init(lzma_next_coder *next,
34 		lzma_allocator *allocator, const lzma_filter_info *filters);
35 
36 extern lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next,
37 		lzma_allocator *allocator, const lzma_filter_info *filters);
38 
39 
40 extern lzma_ret lzma_simple_arm_encoder_init(lzma_next_coder *next,
41 		lzma_allocator *allocator, const lzma_filter_info *filters);
42 
43 extern lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next,
44 		lzma_allocator *allocator, const lzma_filter_info *filters);
45 
46 
47 extern lzma_ret lzma_simple_armthumb_encoder_init(lzma_next_coder *next,
48 		lzma_allocator *allocator, const lzma_filter_info *filters);
49 
50 extern lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next,
51 		lzma_allocator *allocator, const lzma_filter_info *filters);
52 
53 
54 extern lzma_ret lzma_simple_sparc_encoder_init(lzma_next_coder *next,
55 		lzma_allocator *allocator, const lzma_filter_info *filters);
56 
57 extern lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next,
58 		lzma_allocator *allocator, const lzma_filter_info *filters);
59 
60 #endif
61