]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
plugins: update SC_API_VERSION to 9
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 27 Oct 2025 21:04:59 +0000 (22:04 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 29 Oct 2025 15:33:53 +0000 (15:33 +0000)
So that plugins built for 8 will fail to load with 9 as there
were already breaking changes in the structures and functions
prototypes

rust/sys/src/sys.rs
src/suricata-plugin.h

index 314daecc4d3e50e89f6617de95572cbba3d7fb6c..cc2945242acb9f4afdbdcb9886d509a4823d30b3 100644 (file)
@@ -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)]
index 612596b875c68a02a9a5948dd9fc75b6b80fc4fd..a89f42ce43319af77471f1205521c6c2b6d4bebd 100644 (file)
@@ -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
 
 /**