]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: plugin bootstrap function
authorJason Ish <jason.ish@oisf.net>
Tue, 25 Aug 2020 18:51:26 +0000 (12:51 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Sep 2020 11:04:14 +0000 (13:04 +0200)
commitbac8016d1779eabe3d56077f597e7318b71b911c
treedad91424ca42f539115ba7544f18f89b219b613b
parent3de98b35952c4623f1ff6e098deed2cc7abbbb93
rust: plugin bootstrap function

Functions written in Rust will need to suricata::plugin::init()
to bootstrap themselves. This bootstrap process sets the log level
within the Rust address space, and hooks up function pointers
that are expected to be set during normal runs of Suricata.
rust/src/core.rs
rust/src/lib.rs
rust/src/plugin.rs [new file with mode: 0644]