From 3d92990c6f03f52d77267009286515cb50208582 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 13 Mar 2023 17:27:04 -0600 Subject: [PATCH] conf: document ConfGetChildValueBool --- src/conf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/conf.c b/src/conf.c index 9c6fa4b268..d874dc5199 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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; -- 2.47.2