plugins: update SC_API_VERSION to 9

So that plugins built for 8 will fail to load with 9 as there
were already breaking changes in the structures and functions
prototypes
pull/14187/head
Philippe Antoine 1 week ago committed by Victor Julien
parent 9935af67d6
commit 2e9027fd5a

@ -60,7 +60,7 @@ extern "C" {
alproto: AppProto, proto_name: *const ::std::os::raw::c_char,
);
}
pub const SC_API_VERSION: u64 = 2048;
pub const SC_API_VERSION: u64 = 2304;
#[doc = " Structure to define a Suricata plugin."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]

@ -32,7 +32,7 @@
// Do not reuse autoconf PACKAGE_VERSION which is a string
// Defined as major version.minor version (no patch version)
static const uint64_t SC_API_VERSION = 0x0800;
static const uint64_t SC_API_VERSION = 0x0900;
#define SC_PACKAGE_VERSION PACKAGE_VERSION
/**

Loading…
Cancel
Save