|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
// This file is automatically generated. Do not edit.
|
|
|
|
|
|
|
|
|
|
pub const SC_PACKAGE_VERSION: &[u8; 10] = b"8.0.0-dev\0";
|
|
|
|
|
#[repr(u32)]
|
|
|
|
|
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
|
|
|
|
|
pub enum AppProtoEnum {
|
|
|
|
@ -54,11 +55,15 @@ extern "C" {
|
|
|
|
|
alproto: AppProto, proto_name: *const ::std::os::raw::c_char,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
pub const SC_API_VERSION: u64 = 2048;
|
|
|
|
|
#[doc = " Structure to define a Suricata plugin."]
|
|
|
|
|
#[repr(C)]
|
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
|
pub struct SCPlugin_ {
|
|
|
|
|
pub version: u64,
|
|
|
|
|
pub suricata_version: *const ::std::os::raw::c_char,
|
|
|
|
|
pub name: *const ::std::os::raw::c_char,
|
|
|
|
|
pub plugin_version: *const ::std::os::raw::c_char,
|
|
|
|
|
pub license: *const ::std::os::raw::c_char,
|
|
|
|
|
pub author: *const ::std::os::raw::c_char,
|
|
|
|
|
pub Init: ::std::option::Option<unsafe extern "C" fn()>,
|
|
|
|
@ -105,11 +110,9 @@ pub type SCCapturePlugin = SCCapturePlugin_;
|
|
|
|
|
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_ {
|
|
|
|
|
pub version: u64,
|
|
|
|
|
pub name: *const ::std::os::raw::c_char,
|
|
|
|
|
pub Register: ::std::option::Option<unsafe extern "C" fn()>,
|
|
|
|
|
pub KeywordsRegister: ::std::option::Option<unsafe extern "C" fn()>,
|
|
|
|
|