#include "detect-mark.h"
-#ifdef PROFILING
-typedef struct SCProfileData_ SCProfileData;
-typedef struct SCProfileDetectCtx_ SCProfileDetectCtx;
-#endif
-
#define COUNTER_DETECT_ALERTS 1
/* forward declarations for the structures from detect-engine-sigorder.h */
int keyword_id;
#ifdef PROFILING
- SCProfileDetectCtx *profile_ctx;
+ struct SCProfileDetectCtx_ *profile_ctx;
#endif
} DetectEngineCtx;
int keyword_ctxs_size;
#ifdef PROFILING
- SCProfileData *rule_perf_data;
+ struct SCProfileData_ *rule_perf_data;
int rule_perf_data_size;
#endif
} DetectEngineThreadCtx;
void SCProfilingRulesGlobalInit(void);
-void SCProfilingRuleDestroyCtx(SCProfileDetectCtx *);
+void SCProfilingRuleDestroyCtx(struct SCProfileDetectCtx_ *);
void SCProfilingRuleInitCounters(DetectEngineCtx *);
void SCProfilingRuleUpdateCounter(DetectEngineThreadCtx *, uint16_t, uint64_t, int);
-void SCProfilingRuleThreadSetup(SCProfileDetectCtx *, DetectEngineThreadCtx *);
+void SCProfilingRuleThreadSetup(struct SCProfileDetectCtx_ *, DetectEngineThreadCtx *);
void SCProfilingRuleThreadCleanup(DetectEngineThreadCtx *);
void SCProfilingInit(void);