rust: restrict visibility of reexported suricata_sys structs

pull/13958/head
Philippe Antoine 11 months ago committed by Victor Julien
parent fa322e3dc2
commit a393147415

@ -66,7 +66,7 @@ macro_rules!BIT_U64 {
//
// Function types for calls into C.
//
pub use suricata_sys::sys::StreamingBufferConfig;
pub(crate) use suricata_sys::sys::StreamingBufferConfig;
#[allow(non_snake_case)]
#[repr(C)]

@ -19,7 +19,7 @@
pub const FLOW_DIR_REVERSED: u32 = BIT_U32!(26);
/// Opaque flow type (defined in C)
pub use suricata_sys::sys::{
pub(crate) use suricata_sys::sys::{
Flow, SCFlowGetDestinationPort, SCFlowGetFlags, SCFlowGetLastTimeAsParts, SCFlowGetSourcePort,
};

Loading…
Cancel
Save