rust/detect: extend visibility of SIGMATH_NOOPT

so that it can be used by plugins

Avoid export by cbindgen as this constant is also defined in C
pull/12862/head
Philippe Antoine 10 months ago committed by Victor Julien
parent 2fa3a9fe62
commit 1db49487a1

@ -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.

@ -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 {

Loading…
Cancel
Save