mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
support for filters and little event fix
This commit is contained in:
parent
4845c3a9a6
commit
2e3874331d
4 changed files with 210 additions and 31 deletions
|
@ -11,6 +11,16 @@ export {
|
|||
destination: any;
|
||||
reader: Reader &default=default_reader;
|
||||
};
|
||||
|
||||
type Filter: record {
|
||||
name: string;
|
||||
## descriptive name. for later removal
|
||||
|
||||
|
||||
pred: function(typ: Input::Event, left: any, right: any): bool &optional;
|
||||
## decision function, that decides if an inserton, update or removal should really be executed
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@load base/input.bif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue