Re: [Zeek-Dev] support for event handlers using a subset of parameters

2019-01-31 Thread Vern Paxson
> global my_event: event(a: count, b: string); > > event my_event(b: string) > { print "my_event", b; } > > Which is good because: > > * user doesn't care about parameter 'a', so they shouldn't have to list it > * it makes it easier for to deprecate/change event parameters This

[Zeek-Dev] support for event handlers using a subset of parameters

2019-01-31 Thread Jon Siwek
Just wanted to draw more attention/feedback to a proof-of-concept patch I just made: https://github.com/zeek/zeek/pull/262 Basically lets us do this: global my_event: event(a: count, b: string); event my_event(b: string) { print "my_event", b; } Which is good because: * user