From: Priyansh Jaseja (pjaseja) Date: Thu, 30 Jan 2025 08:12:38 +0000 (+0000) Subject: Pull request #4572: mercury: telemetry file changes for multiprocess snort X-Git-Tag: 3.6.3.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6331c253a1445e400a15d236d514e780749814ca;p=thirdparty%2Fsnort3.git Pull request #4572: mercury: telemetry file changes for multiprocess snort Merge in SNORT/snort3 from ~PJASEJA/snort3:mercury_telemetry_files to master Squashed commit of the following: commit 1f8f3ba43e12e9e153fb72df119d47ebe8c78096 Author: Priyansh Jaseja Date: Thu Jan 23 11:17:01 2025 +0530 mercury: telemetry file changes for multiprocess snort --- diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 94c06f1f8..46829581f 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -8,6 +8,7 @@ set (INCLUDES snort_types.h thread.h thread_config.h + snort.h ) set (LOCAL_INCLUDES diff --git a/src/main/snort.h b/src/main/snort.h index 375c30fb5..d8b66ce9f 100644 --- a/src/main/snort.h +++ b/src/main/snort.h @@ -24,6 +24,9 @@ // Snort is the top-level application class. #include +#include "snort_types.h" + + class ContextSwitcher; namespace snort @@ -48,7 +51,7 @@ public: static bool is_exiting() { return already_exiting; } static bool is_reloading(); - static unsigned get_process_id(); + SO_PUBLIC static unsigned get_process_id(); private: static void init(int, char**);