X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fconfig.hh;fp=pc-tools%2Fldc2%2Fsrc%2Fconfig.hh;h=1f80c7934ce80253f2e318fdc4f41f82f730d674;hb=ea4c19a49ff6621c58e0c4bba5ab5d271a3604c8;hp=0000000000000000000000000000000000000000;hpb=0b8fa8754893006b8a88448dbd32ac21ce911731;p=h316.git diff --git a/pc-tools/ldc2/src/config.hh b/pc-tools/ldc2/src/config.hh new file mode 100644 index 0000000..1f80c79 --- /dev/null +++ b/pc-tools/ldc2/src/config.hh @@ -0,0 +1,35 @@ +#ifndef CONFIG_HH +#define CONFIG_HH + +#include +using namespace std; + +/* Global configuration data */ + +extern string cfg_infile; +extern string cfg_outfile; +extern int cfg_infile_set; +extern int cfg_outfile_set; +extern int cfg_config_file_set; + +extern int cfg_do_help; +extern int cfg_output_info; +extern int cfg_output_called; +extern int cfg_output_exported; +extern int cfg_output_unsatisfied; +extern int cfg_splitobjects; +extern int cfg_splitobjects_numbered; +extern int cfg_ignoreblock_errors; +extern int cfg_ignorechecksum_errors; +extern int cfg_pause_on_checksum_error; +extern int cfg_ignore_unknown_block_errors; +extern int cfg_ignore_object_integrity_errors; +extern int cfg_list_contents; +extern int cfg_verbose; + +extern int in_fd; //! File descriptor for data input +extern int out_fd; //! File descriptor for text output + +extern void do_config(int argc, char ** args); + +#endif