]> git.ipfire.org Git - people/ms/suricata.git/commit
applayerevent: derive get_event_info and get_event_info_by_id
authorJason Ish <jason.ish@oisf.net>
Mon, 19 Oct 2020 17:17:48 +0000 (11:17 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 1 Sep 2021 06:33:52 +0000 (08:33 +0200)
commit9221f1d9d53b4bb58991b389d8a38bc0301e385e
tree6373bf3a33f5f122047c637998aa1f0f362759cf
parent0fa7b5c2a2204c6d8ee29489c7b08ff7f1fe68f5
applayerevent: derive get_event_info and get_event_info_by_id

Add generation of wrapper functions for get_event_info
and get_event_info_by_id to the derive macro. Eliminates
the need for the wrapper method to be created by the parser
author.
rust/derive/src/applayerevent.rs
rust/src/applayer.rs