]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3252: event: making apis SO_PUBLIC to access in .so
authorNaveen Gujje (ngujje) <ngujje@cisco.com>
Tue, 1 Feb 2022 07:12:38 +0000 (07:12 +0000)
committerNaveen Gujje (ngujje) <ngujje@cisco.com>
Tue, 1 Feb 2022 07:12:38 +0000 (07:12 +0000)
Merge in SNORT/snort3 from ~RJAVALI/snort3:eventid to master

Squashed commit of the following:

commit c867d326923f22660569b195e98e8ad5bec19841
Author: Raghavendra Javali <rjavali@cisco.com>
Date:   Fri Jan 28 05:27:10 2022 -0500

    event: making apis SO_PUBLIC to access in .so

src/events/event.cc

index bb61fda1c61e9a47a540f39d942b35ec0c4b5c69..f798ba2c319e276e41c66ff742364ccc7511a3b6 100644 (file)
@@ -30,12 +30,12 @@ using namespace snort;
 
 static THREAD_LOCAL uint16_t g_event_id;
 
-uint16_t get_event_id()
+SO_PUBLIC uint16_t get_event_id()
 {
     return g_event_id;
 }
 
-void incr_event_id()
+SO_PUBLIC void incr_event_id()
 {
     g_event_id++;
 }