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

Jon Siwek jsiwek at corelight.com
Thu Jan 31 15:21:44 PST 2019

Just wanted to draw more attention/feedback to a proof-of-concept
patch I just made:


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 doesn't care about parameter 'a', so they shouldn't have to list it
* it makes it easier for to deprecate/change event parameters

I didn't see any drawbacks to this change, but maybe I missed
something, let me know.

- Jon

More information about the zeek-dev mailing list