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