]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
doxygen
authorAlan T. DeKok <aland@freeradius.org>
Sat, 26 Mar 2022 12:58:00 +0000 (08:58 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 26 Mar 2022 12:58:00 +0000 (08:58 -0400)
src/lib/server/cf_util.c

index b1b03afdbe6e568c1332f794eb2042bc92a01f67..7e7884329062f77a36ce254bcd28e79df3e30c8c 100644 (file)
@@ -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;