| 1 | #ifndef CONFIG_HH |
| 2 | #define CONFIG_HH |
| 3 | |
| 4 | #include <string> |
| 5 | using namespace std; |
| 6 | |
| 7 | /* Global configuration data */ |
| 8 | |
| 9 | extern string cfg_infile; |
| 10 | extern string cfg_outfile; |
| 11 | extern int cfg_infile_set; |
| 12 | extern int cfg_outfile_set; |
| 13 | extern int cfg_config_file_set; |
| 14 | |
| 15 | extern int cfg_do_help; |
| 16 | extern int cfg_output_info; |
| 17 | extern int cfg_output_called; |
| 18 | extern int cfg_output_exported; |
| 19 | extern int cfg_output_unsatisfied; |
| 20 | extern int cfg_split_objects; |
| 21 | extern int cfg_split_objects_numbered; |
| 22 | extern int cfg_ignore_block_errors; |
| 23 | extern int cfg_ignore_checksum_errors; |
| 24 | extern int cfg_pause_on_checksum_error; |
| 25 | extern int cfg_ignore_unknown_block_errors; |
| 26 | extern int cfg_ignore_object_integrity_errors; |
| 27 | extern int cfg_list_contents; |
| 28 | extern int cfg_verbose; |
| 29 | extern int cfg_version; |
| 30 | extern int cfg_quiet; |
| 31 | |
| 32 | extern int in_fd; //! File descriptor for data input |
| 33 | extern int out_fd; //! File descriptor for text output |
| 34 | |
| 35 | extern void do_config(int argc, char ** args); |
| 36 | |
| 37 | #endif |