Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

options.h

Go to the documentation of this file.
00001 /* options.h -*- c++ -*- Hans-Peter Stoerr Mon Oct 27 2003 */
00002 /* general parameters for the coding / decoding */
00004 
00005 #ifndef _OPTIONS_H
00006 #define _OPTIONS_H
00007 
00008 #include <iostream>
00009 #include <assert.h>
00010 #define P(X) do { if (verbose>0) { std::cerr << #X"=" << X << std::endl; std::cerr.flush(); } } while(0)
00011 
00012 extern bool protectmode; 
00013 extern char* progname; 
00014 
00015 extern char* protectedfname;     
00016 extern char* eccfname;          
00017 extern char* correctedfname;     
00018 
00019 
00020 const  int blklen=2048;          
00021 extern int hblen;               
00022 extern const int hbcorr;        
00023 
00024 
00025 extern int verbose;             
00026                                 
00028 void readoptions(int argc, char * const argv[]);
00029 
00030 #endif

Generated on Tue Dec 30 12:07:35 2003 for ErrorProtect by doxygen 1.3.2