1 ///////////////////////////////////////////////////////////////////////////////
4 /// \brief Argument parsing
6 // Copyright (C) 2007 Lasse Collin
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.
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.
18 ///////////////////////////////////////////////////////////////////////////////
41 extern char *opt_suffix;
43 extern char *opt_files_name;
44 extern char opt_files_split;
45 extern FILE *opt_files_file;
47 extern bool opt_stdout;
48 extern bool opt_force;
49 extern bool opt_keep_original;
50 extern bool opt_preserve_name;
51 // extern bool opt_recursive;
52 extern enum tool_mode opt_mode;
53 extern enum header_type opt_header;
55 extern lzma_check_type opt_check;
56 extern lzma_options_filter opt_filters[8];
58 extern const char *stdin_filename;
60 extern char **parse_args(int argc, char **argv);