mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Add new function flavor called a "hook".
This new flavor of function behaves like a "synchronous event". See documentation for more details on usage.
This commit is contained in:
parent
5508a5bb80
commit
e0fb9eb2b2
30 changed files with 476 additions and 79 deletions
|
@ -165,6 +165,7 @@ SERIAL_STMT(EVENT_BODY_LIST, 16)
|
|||
SERIAL_STMT(INIT_STMT, 17)
|
||||
SERIAL_STMT(NULL_STMT, 18)
|
||||
SERIAL_STMT(WHEN_STMT, 19)
|
||||
SERIAL_STMT(HOOK_STMT, 20)
|
||||
|
||||
#define SERIAL_TYPE(name, val) SERIAL_CONST(name, val, BRO_TYPE)
|
||||
SERIAL_TYPE(BRO_TYPE, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue