]> icculus.org git repositories - icculus/xz.git/blob - src/liblzma/common/features.c
Imported to git.
[icculus/xz.git] / src / liblzma / common / features.c
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       features.c
4 /// \brief      Information about features enabled at compile time
5 //
6 //  Copyright (C) 2007 Lasse Collin
7 //
8 //  This library is free software; you can redistribute it and/or
9 //  modify it under the terms of the GNU Lesser General Public
10 //  License as published by the Free Software Foundation; either
11 //  version 2.1 of the License, or (at your option) any later version.
12 //
13 //  This library is distributed in the hope that it will be useful,
14 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 //  Lesser General Public License for more details.
17 //
18 ///////////////////////////////////////////////////////////////////////////////
19
20 #include "common.h"
21
22
23 static const lzma_vli filters[] = {
24 #ifdef HAVE_FILTER_COPY
25         LZMA_FILTER_COPY,
26 #endif
27
28 #ifdef HAVE_FILTER_SUBBLOCK
29         LZMA_FILTER_SUBBLOCK,
30 #endif
31
32 #ifdef HAVE_FILTER_X86
33         LZMA_FILTER_X86,
34 #endif
35
36 #ifdef HAVE_FILTER_POWERPC
37         LZMA_FILTER_POWERPC,
38 #endif
39
40 #ifdef HAVE_FILTER_IA64
41         LZMA_FILTER_IA64,
42 #endif
43
44 #ifdef HAVE_FILTER_ARM
45         LZMA_FILTER_ARM,
46 #endif
47
48 #ifdef HAVE_FILTER_ARMTHUMB
49         LZMA_FILTER_ARMTHUMB,
50 #endif
51
52 #ifdef HAVE_FILTER_SPARC
53         LZMA_FILTER_SPARC,
54 #endif
55
56 #ifdef HAVE_FILTER_DELTA
57         LZMA_FILTER_DELTA,
58 #endif
59
60 #ifdef HAVE_FILTER_LZMA
61         LZMA_FILTER_LZMA,
62 #endif
63
64         LZMA_VLI_VALUE_UNKNOWN
65 };
66
67
68 LZMA_API const lzma_vli *const lzma_available_filter_encoders = filters;
69
70 LZMA_API const lzma_vli *const lzma_available_filter_decoders = filters;