mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Deprecate Connection::Event and Analyzer::Event methods
And update usages to the "EnqueueEvent" methods.
This commit is contained in:
parent
2a63e4a4a2
commit
9b2fb29aca
10 changed files with 56 additions and 29 deletions
|
@ -193,6 +193,7 @@ public:
|
|||
// 'v1' and 'v2' reference counts get decremented. The event's first
|
||||
// argument is the connection value, second argument is 'v1', and if 'v2'
|
||||
// is given that will be it's third argument.
|
||||
[[deprecated("Remove in v4.1. Use EnqueueEvent() instead (note it doesn't automatically add the connection argument).")]]
|
||||
void Event(EventHandlerPtr f, analyzer::Analyzer* analyzer, Val* v1, Val* v2 = nullptr);
|
||||
|
||||
// If a handler exists for 'f', an event will be generated. In any case,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue