From: Eric Leblond Date: Mon, 16 Dec 2013 10:58:47 +0000 (+0100) Subject: doxygen: document some functions X-Git-Tag: suricata-2.0rc1~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6932f90db2708af6162fc3824e6353c66f8d256;p=thirdparty%2Fsuricata.git doxygen: document some functions --- 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) {