mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Add file analysis action to send data to script-land in chosen events.
This commit is contained in:
parent
85410a7657
commit
4b30cc2e24
10 changed files with 134 additions and 17 deletions
|
@ -33,8 +33,13 @@ export {
|
|||
## TODO: what's a reasonable default?
|
||||
const default_data_event_len: count = 1024*1024 &redef;
|
||||
|
||||
# Needed a forward declaration for event parameters...
|
||||
type Info: record {};
|
||||
|
||||
type ActionArgs: record {
|
||||
extract_filename: string &optional;
|
||||
chunk_event: event(info: Info, data: string, off: count) &optional;
|
||||
stream_event: event(info: Info, data: string) &optional;
|
||||
};
|
||||
|
||||
type ActionResults: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue