#include "keywords.h"
#include "parse_conf.h"
#include "parse_rule.h"
+ #include "parse_stream.h"
#include "vars.h"
#include "target_based/sftarget_reader.h"
-#include "events/event_wrapper.h" // see s_hack
-
-// FIXIT-L without s_hack, we get this error on Mac:
-// Symbol not found: __Z18GenerateSnortEventP6Packetjj
-// Referenced from: /Users/rucombs/install/lib/snort/inspectors/libport_scan.0.dylib
-// Expected in: flat namespace
-static uint32_t (*s_hack)(Packet*, uint32_t, uint32_t) = GenerateSnortEvent;
static unsigned parse_errors = 0;
#include "perf_monitor/perf.h"
#include "snort.h"
#include "snort_debug.h"
+#include "utils/stats.h"
- #define SFAT_CHECKHOST \
- if (!current_host) return SFAT_ERROR;
- #define SFAT_CHECKAPP \
- if (!current_app) return SFAT_ERROR;
-
#define ATTRIBUTE_MAP_MAX_ROWS 1024
struct tTargetBasedConfig