diff --git a/src/detect-engine.c b/src/detect-engine.c index 5127a385c1..094efd830a 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -851,6 +851,11 @@ static void DetectEngineCtxFreeThreadKeywordData(DetectEngineCtx *de_ctx) { de_ctx->keyword_list = NULL; } +/** + * \brief Free a DetectEngineCtx:: + * + * \param de_ctx DetectEngineCtx:: to be freed + */ void DetectEngineCtxFree(DetectEngineCtx *de_ctx) { if (de_ctx == NULL) diff --git a/src/util-profiling-rules.c b/src/util-profiling-rules.c index 24099151a1..61ae78e6ca 100644 --- a/src/util-profiling-rules.c +++ b/src/util-profiling-rules.c @@ -262,6 +262,11 @@ SCProfileSummarySortByMaxTicks(const void *a, const void *b) return s1->max - s0->max; } +/** + * \brief Dump rule profiling information to file + * + * \param de_ctx The active DetectEngineCtx, used to get at the loaded rules. + */ void SCProfilingRuleDump(SCProfileDetectCtx *rules_ctx) {