ldc2: Cosmetic fixes and support for compiler orverride
[h316.git] / pc-tools / ldc2 / src / config.hh
CommitLineData
4741aa72 1/******************************************************************************
2 *
3 * LDC2 source code
4 *
8dc281af 5 * $Date: 2007/12/23 15:25:11 $
4741aa72 6 * $Author: hachti $
7 *
8 * $Log: config.hh,v $
8dc281af 9 * Revision 2.1 2007/12/23 15:25:11 hachti
10 * *** empty log message ***
11 *
12 * Revision 2.0 2007-03-26 01:00:38 hachti
4741aa72 13 * *** empty log message ***
14 *
15 *
16 ******************************************************************************/
17
ea4c19a4 18#ifndef CONFIG_HH
19#define CONFIG_HH
20
21#include <string>
22using namespace std;
23
24/* Global configuration data */
25
26extern string cfg_infile;
27extern string cfg_outfile;
28extern int cfg_infile_set;
29extern int cfg_outfile_set;
30extern int cfg_config_file_set;
31
32extern int cfg_do_help;
33extern int cfg_output_info;
34extern int cfg_output_called;
35extern int cfg_output_exported;
36extern int cfg_output_unsatisfied;
874a2bd8 37extern int cfg_split_objects;
38extern int cfg_split_objects_numbered;
de6b6757 39extern int cfg_split_blocks;
7880ae2d 40extern int cfg_ignore_block_errors;
41extern int cfg_ignore_checksum_errors;
ea4c19a4 42extern int cfg_pause_on_checksum_error;
43extern int cfg_ignore_unknown_block_errors;
44extern int cfg_ignore_object_integrity_errors;
45extern int cfg_list_contents;
46extern int cfg_verbose;
7880ae2d 47extern int cfg_version;
874a2bd8 48extern int cfg_quiet;
8dc281af 49extern int cfg_dump_block_contents;
ea4c19a4 50
51extern int in_fd; //! File descriptor for data input
52extern int out_fd; //! File descriptor for text output
53
54extern void do_config(int argc, char ** args);
55
56#endif