X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fconfig.cpp;h=0bc613a95199b6ddf29958cd0488a738e4bc9fc2;hb=eabafccaa9119c64c3964f25035a71579de18ddd;hp=5cb7043cba61799f46f4359d699a3f3de2e7b585;hpb=de6b6757167b76f4c363177d66f3ac4502811b42;p=h316.git diff --git a/pc-tools/ldc2/src/config.cpp b/pc-tools/ldc2/src/config.cpp index 5cb7043..0bc613a 100644 --- a/pc-tools/ldc2/src/config.cpp +++ b/pc-tools/ldc2/src/config.cpp @@ -1,3 +1,23 @@ +/****************************************************************************** + * + * LDC2 source code + * + * $Date: 2008/08/25 21:02:24 $ + * $Author: hachti $ + * + * $Log: config.cpp,v $ + * Revision 2.2 2008/08/25 21:02:24 hachti + * *** empty log message *** + * + * Revision 2.1 2007-12-23 15:25:11 hachti + * *** empty log message *** + * + * Revision 2.0 2007-03-26 01:00:38 hachti + * *** empty log message *** + * + * + ******************************************************************************/ + /* * Program configuration management */ @@ -7,6 +27,7 @@ #include #include +#include #include #include #include @@ -37,6 +58,7 @@ int cfg_ignore_object_integrity_errors=0; int cfg_list_contents=1; int cfg_verbose=0; int cfg_quiet=0; +int cfg_dump_block_contents=0; int cfg_version=0; @@ -61,6 +83,10 @@ void do_config(int argc, char ** args){ "Print all called symbols from the object(s).", &cfg_output_called,true,true); + ar.add_option_switch("d","dump_block_contents", + "Dump block contents", + &cfg_dump_block_contents,true,true); + ar.add_option_switch("e","output_exported", "Print all exported symbols from the object(s).", &cfg_output_exported,true,true);