mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
event from c++ to script works (at last...)
This commit is contained in:
parent
f8be3519c7
commit
9c8b0dec3b
8 changed files with 33 additions and 16 deletions
1
scripts/base/frameworks/input/__load__.bro
Normal file
1
scripts/base/frameworks/input/__load__.bro
Normal file
|
@ -0,0 +1 @@
|
|||
@load ./main
|
11
scripts/base/frameworks/input/main.bro
Normal file
11
scripts/base/frameworks/input/main.bro
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
module Input;
|
||||
|
||||
export {
|
||||
type Event: record {
|
||||
name: string;
|
||||
columns: any;
|
||||
};
|
||||
}
|
||||
|
||||
@load base/input.bif
|
|
@ -1509,4 +1509,5 @@ const parse_udp_tunnels = F &redef;
|
|||
# BiFs and script-land defined types.
|
||||
@load base/frameworks/logging
|
||||
|
||||
@load base/input.bif
|
||||
@load base/frameworks/input
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue