mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Checkpoint commit. This is all a huge mess right now. :)
This commit is contained in:
parent
78401262d0
commit
50e319a417
9 changed files with 495 additions and 314 deletions
|
@ -5,11 +5,9 @@ module Intel;
|
|||
export {
|
||||
## Files that will be read off disk
|
||||
const read_files: set[string] = {} &redef;
|
||||
|
||||
global entry: event(desc: Input::EventDescription, tpe: Input::Event, item: Intel::Item);
|
||||
}
|
||||
|
||||
event Intel::entry(desc: Input::EventDescription, tpe: Input::Event, item: Intel::Item)
|
||||
event Intel::read_entry(desc: Input::EventDescription, tpe: Input::Event, item: Intel::Item)
|
||||
{
|
||||
Intel::insert(item);
|
||||
}
|
||||
|
@ -23,6 +21,6 @@ event bro_init() &priority=5
|
|||
$mode=Input::REREAD,
|
||||
$name=cat("intel-", a_file),
|
||||
$fields=Intel::Item,
|
||||
$ev=Intel::entry]);
|
||||
$ev=Intel::read_entry]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue