]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3381: framework: make Cursor SO_PUBLIC
authorRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 19 Apr 2022 13:49:44 +0000 (13:49 +0000)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Tue, 19 Apr 2022 13:49:44 +0000 (13:49 +0000)
Merge in SNORT/snort3 from ~KATHARVE/snort3:cursor_so_public to master

Squashed commit of the following:

commit e207201c711459aea2eea09b796000d421b2ce93
Author: Katura Harvey <katharve@cisco.com>
Date:   Mon Apr 18 16:01:55 2022 -0400

    framework: make Cursor SO_PUBLIC

src/framework/cursor.h

index 679a11a0eb837318e89629151814a18362f82e99..f5362a204d739a4c5fefff4c9a356aedb9339774 100644 (file)
@@ -29,6 +29,8 @@
 #include <cstring>
 #include <vector>
 
+#include "main/snort_types.h"
+
 namespace snort
 {
 struct Packet;
@@ -52,7 +54,7 @@ private:
     unsigned id;
 };
 
-class Cursor
+class SO_PUBLIC Cursor
 {
 public:
     Cursor() = default;