xref: /freebsd/contrib/xz/src/xz/options.h (revision a91a2465)
1 // SPDX-License-Identifier: 0BSD
2 
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file       options.h
6 /// \brief      Parser for filter-specific options
7 //
8 //  Author:     Lasse Collin
9 //
10 ///////////////////////////////////////////////////////////////////////////////
11 
12 /// \brief      Parser for Delta options
13 ///
14 /// \return     Pointer to allocated options structure.
15 ///             Doesn't return on error.
16 extern lzma_options_delta *options_delta(const char *str);
17 
18 
19 /// \brief      Parser for BCJ options
20 ///
21 /// \return     Pointer to allocated options structure.
22 ///             Doesn't return on error.
23 extern lzma_options_bcj *options_bcj(const char *str);
24 
25 
26 /// \brief      Parser for LZMA options
27 ///
28 /// \return     Pointer to allocated options structure.
29 ///             Doesn't return on error.
30 extern lzma_options_lzma *options_lzma(const char *str);
31