support for filters and little event fix

This commit is contained in:
Bernhard Amann 2011-11-04 12:41:10 -07:00
parent 4845c3a9a6
commit 2e3874331d
4 changed files with 210 additions and 31 deletions

View file

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