mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
EventHandler: Support unsetting generate_always
This commit is contained in:
parent
e4ab7b2d70
commit
b66cd313db
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ public:
|
||||||
|
|
||||||
// Flags the event as interesting even if there is no body defined. In
|
// Flags the event as interesting even if there is no body defined. In
|
||||||
// particular, this will then still pass the event on to plugins.
|
// particular, this will then still pass the event on to plugins.
|
||||||
void SetGenerateAlways() { generate_always = true; }
|
void SetGenerateAlways(bool arg_generate_always = true)
|
||||||
|
{
|
||||||
|
generate_always = arg_generate_always;
|
||||||
|
}
|
||||||
bool GenerateAlways() const { return generate_always; }
|
bool GenerateAlways() const { return generate_always; }
|
||||||
|
|
||||||
uint64_t CallCount() const { return call_count; }
|
uint64_t CallCount() const { return call_count; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue