Add file analysis action to send data to script-land in chosen events.

This commit is contained in:
Jon Siwek 2013-02-22 16:49:53 -06:00
parent 85410a7657
commit 4b30cc2e24
10 changed files with 134 additions and 17 deletions

View file

@ -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 {