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> |
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; |
874a2bd8 |
37 | extern int cfg_split_objects; |
38 | extern int cfg_split_objects_numbered; |
de6b6757 |
39 | extern int cfg_split_blocks; |
7880ae2d |
40 | extern int cfg_ignore_block_errors; |
41 | extern int cfg_ignore_checksum_errors; |
ea4c19a4 |
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; |
7880ae2d |
47 | extern int cfg_version; |
874a2bd8 |
48 | extern int cfg_quiet; |
8dc281af |
49 | extern int cfg_dump_block_contents; |
ea4c19a4 |
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 |