]> icculus.org git repositories - icculus/xz.git/blob - src/xz/options.h
Cleanups to the code that detects the amount of RAM and
[icculus/xz.git] / src / xz / options.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       options.h
4 /// \brief      Parser for filter-specific options
5 //
6 //  Copyright (C) 2007 Lasse Collin
7 //
8 //  This program 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 program 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 /// \brief      Parser for Subblock options
21 ///
22 /// \return     Pointer to allocated options structure.
23 ///             Doesn't return on error.
24 extern lzma_options_subblock *options_subblock(const char *str);
25
26
27 /// \brief      Parser for Delta options
28 ///
29 /// \return     Pointer to allocated options structure.
30 ///             Doesn't return on error.
31 extern lzma_options_delta *options_delta(const char *str);
32
33
34 /// \brief      Parser for LZMA options
35 ///
36 /// \return     Pointer to allocated options structure.
37 ///             Doesn't return on error.
38 extern lzma_options_lzma *options_lzma(const char *str);