ns-allinone-2.35/ns-2.35/mac/mac-simple.cc
int 
MacSimple::command(int argc, const char*const* argv)
{
	if (argc == 3) {
		if(strcmp(argv[1], "eventtrace") == 0) {
			et_ = (EventTrace *)TclObject::lookup(argv[2]);
			return (TCL_OK);
		}
	}
	return Mac::command(argc, argv);
}
// Added by Sushmita to support event tracing (singal@nunki.usc.edu)
Added by Sushmita to support event tracing (singal@nunki.usc.edu)
Added by Sushmita to support event tracing ( singal@nunki . usc . edu )
int 
MacSimple::command(int argc, const char*const* argv)
{
	if (argc == 3) {
		if(strcmp(argv[1], "eventtrace") == 0) {
			et_ = (EventTrace *)TclObject::lookup(argv[2]);
			return (TCL_OK);
		}
	}
	return Mac::command(argc, argv);
}
int MacSimple :: command ( int argc , const char * const * argv ) { if ( argc == 3 ) { if ( strcmp ( argv [ 1 ] , " " ) == 0 ) { et_ = ( EventTrace * ) TclObject :: lookup ( argv [ 2 ] ) ; return ( TCL_OK ) ; } } return Mac :: command ( argc , argv ) ; }
Added by Sushmita to support event tracing (singal@nunki.usc.edu)
Added by Sushmita to support event tracing ( singal@nunki . usc . edu )