]> icculus.org git repositories - icculus/xz.git/blob - src/lzma/options.h
Imported to git.
[icculus/xz.git] / src / lzma / 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 #ifndef OPTIONS_H
21 #define OPTIONS_H
22
23 #include "private.h"
24
25
26 /// \brief      Parser for Subblock options
27 ///
28 /// \return     Pointer to allocated options structure.
29 ///             Doesn't return on error.
30 extern lzma_options_subblock *parse_options_subblock(const char *str);
31
32
33 /// \brief      Parser for Delta options
34 ///
35 /// \return     Pointer to allocated options structure.
36 ///             Doesn't return on error.
37 extern lzma_options_delta *parse_options_delta(const char *str);
38
39
40 /// \brief      Parser for LZMA options
41 ///
42 /// \return     Pointer to allocated options structure.
43 ///             Doesn't return on error.
44 extern lzma_options_lzma *parse_options_lzma(const char *str);
45
46 #endif