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 ///////////////////////////////////////////////////////////////////////////////
43 extern char *opt_suffix;
45 extern char *opt_files_name;
46 extern char opt_files_split;
47 extern FILE *opt_files_file;
49 extern bool opt_stdout;
50 extern bool opt_force;
51 extern bool opt_keep_original;
52 extern bool opt_preserve_name;
53 // extern bool opt_recursive;
54 extern enum tool_mode opt_mode;
55 extern enum header_type opt_header;
57 extern lzma_check_type opt_check;
58 extern lzma_options_filter opt_filters[8];
60 extern const char *stdin_filename;
62 extern char **parse_args(int argc, char **argv);