mirror of https://github.com/OISF/suricata
rust/app-layer: macros to export de_state functions
These macros generate the extern "C" functions for transactions structs that need provide functions for setting and getting the de_state. The idea is to provide macros do avoid code duplication and make it simpler to create an app-layer. A trait would be the correct solution, but it doesn't look like you can use traits to export extern "C" functions.pull/3394/head
parent
da4912dfe7
commit
2ec3381600
Loading…
Reference in New Issue