Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

delsection.cc

Go to the documentation of this file.
00001 /*
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  *
00005  * Deletes a section from a config file.  Useful when netmaps are too big.
00006  *
00007  */
00008 
00009 #include "wvconf.h"
00010 
00011 int main( int argc, char ** argv )
00012 /********************************/
00013 {
00014     if( argc != 3 ) {
00015         fprintf( stderr, "Usage: %s cfgfilename section\n", argv[0] );
00016         return( -1 );
00017     }
00018 
00019     WvConf cfg( argv[1] );
00020     cfg.delete_section( argv[2] );
00021 
00022     return( 0 );
00023 }

Generated on Sat Aug 24 21:36:59 2002 for WvStreams by doxygen1.2.15