--allowlist-function 'AppProto.*' \
--allowlist-type 'SC.*' \
--allowlist-function 'SC.*' \
+ --allowlist-var 'SC.*' \
$(abs_top_srcdir)/src/bindgen.h \
-- \
-DHAVE_CONFIG_H -I../src -I../rust/gen $(CPPFLAGS)
extern "C" {
pub fn SCPluginRegisterCapture(arg1: *mut SCCapturePlugin) -> ::std::os::raw::c_int;
}
+pub const SC_PLUGIN_API_VERSION: u64 = 8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SCAppLayerPlugin_ {
int SCPluginRegisterCapture(SCCapturePlugin *);
// Every change in the API used by plugins should change this number
-#define SC_PLUGIN_API_VERSION 8
+static const uint64_t SC_PLUGIN_API_VERSION = 8;
typedef struct SCAppLayerPlugin_ {
// versioning to check suricata/plugin API compatibility