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