From: Alan T. DeKok Date: Sat, 26 Mar 2022 12:58:00 +0000 (-0400) Subject: doxygen X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d052237082c080d39694ff7bef6d22984e2b5525;p=thirdparty%2Ffreeradius-server.git doxygen --- diff --git a/src/lib/server/cf_util.c b/src/lib/server/cf_util.c index b1b03afdbe..7e78843290 100644 --- a/src/lib/server/cf_util.c +++ b/src/lib/server/cf_util.c @@ -444,6 +444,14 @@ CONF_ITEM *_cf_item_next(CONF_ITEM const *ci, CONF_ITEM const *prev) return fr_dlist_next(&ci->children, prev); } +/** Initialize a CONF_ITEM, so we don't have repeated code + * + * @param[in] ci the CONF_ITEM to initialize + * @param[in] type the type to set + * @param[in] parent the parent node hosting this one + * @param[in] filename which caused this node to be created + * @param[in] lineno where in the filename + */ static void cf_item_init(CONF_ITEM *ci, CONF_ITEM_TYPE type, CONF_ITEM *parent, char const *filename, int lineno) { ci->type = type;