]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
conf: document ConfGetChildValueBool
authorJason Ish <jason.ish@oisf.net>
Mon, 13 Mar 2023 23:27:04 +0000 (17:27 -0600)
committerVictor Julien <vjulien@oisf.net>
Fri, 17 Mar 2023 10:15:22 +0000 (11:15 +0100)
src/conf.c

index 9c6fa4b268f00db997b0edbb39627652c91bad4d..d874dc5199b9910e6880928558b6703ff2b73d13 100644 (file)
@@ -492,6 +492,11 @@ int ConfGetBool(const char *name, int *val)
     return 1;
 }
 
+/**
+ * Get a boolean value from the provided ConfNode.
+ *
+ * \retval 1 If the value exists, 0 if not.
+ */
 int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val)
 {
     const char *strval = NULL;