mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Move EventMgr, EventHandler, and EventRegistry code to zeek namespace. Rename mgr to event_mgr.
This commit is contained in:
parent
1c17700c48
commit
45b5a98420
76 changed files with 328 additions and 300 deletions
|
@ -331,8 +331,8 @@ void File::RaiseOpenEvent()
|
|||
return;
|
||||
|
||||
FilePtr bf{zeek::NewRef{}, this};
|
||||
Event* event = new ::Event(::file_opened, {zeek::make_intrusive<zeek::Val>(std::move(bf))});
|
||||
mgr.Dispatch(event, true);
|
||||
auto* event = new zeek::Event(::file_opened, {zeek::make_intrusive<zeek::Val>(std::move(bf))});
|
||||
zeek::event_mgr.Dispatch(event, true);
|
||||
}
|
||||
|
||||
double File::Size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue