mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Reintroduce event groups
This started with reverting commit 52cd02173d
and then rewriting it to be per handler rather than handler identifier
and adding support for hooks as well as adding implicit module groups.
This commit is contained in:
parent
5aa7d80e88
commit
2ad609cbbb
30 changed files with 730 additions and 49 deletions
|
@ -45,7 +45,7 @@ extern void add_type(ID* id, TypePtr t, std::unique_ptr<std::vector<AttrPtr>> at
|
|||
extern void begin_func(IDPtr id, const char* module_name, FunctionFlavor flavor, bool is_redef,
|
||||
FuncTypePtr t, std::unique_ptr<std::vector<AttrPtr>> attrs = nullptr);
|
||||
|
||||
extern void end_func(StmtPtr body, bool free_of_conditionals);
|
||||
extern void end_func(StmtPtr body, const char* module_name, bool free_of_conditionals);
|
||||
|
||||
// Gather all IDs referenced inside a body that aren't part of a given scope.
|
||||
extern IDPList gather_outer_ids(ScopePtr scope, StmtPtr body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue