]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doxygen: document some functions
authorEric Leblond <eric@regit.org>
Mon, 16 Dec 2013 10:58:47 +0000 (11:58 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 10 Jan 2014 14:33:59 +0000 (15:33 +0100)
src/detect-engine.c
src/util-profiling-rules.c

index 5127a385c111ae1d93a941e54e6178e2eea81876..094efd830a585d041162ecb3e185c9abaee08c1b 100644 (file)
@@ -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)
index 24099151a1db8a57136d7da1fe555340e7336f34..61ae78e6cae79baddcf40bebff1731376bb2bbc7 100644 (file)
@@ -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)
 {