diff --git a/rust/cbindgen.toml b/rust/cbindgen.toml index 6e9954990a..b8b88676e6 100644 --- a/rust/cbindgen.toml +++ b/rust/cbindgen.toml @@ -114,6 +114,8 @@ exclude = [ "IPPROTO_TCP", "IPPROTO_UDP", "SRepCatGetByShortname", + "SIGMATCH_NOOPT", + "SIGMATCH_INFO_STICKY_BUFFER", ] # Types of items that we'll generate. If empty, then all types of item are emitted. diff --git a/rust/src/detect/mod.rs b/rust/src/detect/mod.rs index 9a5de6dad8..3a3f6f74a7 100644 --- a/rust/src/detect/mod.rs +++ b/rust/src/detect/mod.rs @@ -79,9 +79,9 @@ pub struct SCSigTableElmt { >, } -pub(crate) const SIGMATCH_NOOPT: u16 = 1; // BIT_U16(0) in detect.h +pub const SIGMATCH_NOOPT: u16 = 1; // BIT_U16(0) in detect.h pub(crate) const SIGMATCH_QUOTES_MANDATORY: u16 = 0x40; // BIT_U16(6) in detect.h -pub(crate) const SIGMATCH_INFO_STICKY_BUFFER: u16 = 0x200; // BIT_U16(9) +pub const SIGMATCH_INFO_STICKY_BUFFER: u16 = 0x200; // BIT_U16(9) /// cbindgen:ignore extern {