Move Reporter to zeek namespace

This commit is contained in:
Tim Wojtulewicz 2020-07-20 10:57:36 -07:00
parent 7cedd94ee7
commit bfab224d7c
132 changed files with 1010 additions and 987 deletions

View file

@ -52,14 +52,14 @@ void Event::Dispatch(bool no_remote)
no_remote = true;
if ( handler->ErrorHandler() )
reporter->BeginErrorHandler();
zeek::reporter->BeginErrorHandler();
try
{
handler->Call(&args, no_remote);
}
catch ( InterpreterException& e )
catch ( zeek::InterpreterException& e )
{
// Already reported.
}
@ -69,7 +69,7 @@ void Event::Dispatch(bool no_remote)
Unref(obj);
if ( handler->ErrorHandler() )
reporter->EndErrorHandler();
zeek::reporter->EndErrorHandler();
}
EventMgr::EventMgr()
@ -242,5 +242,5 @@ void EventMgr::InitPostScript()
{
iosource_mgr->Register(this, true, false);
if ( ! iosource_mgr->RegisterFd(queue_flare.FD(), this) )
reporter->FatalError("Failed to register event manager FD with iosource_mgr");
zeek::reporter->FatalError("Failed to register event manager FD with iosource_mgr");
}