From aa708f542bbc86f99247e0407a9b1b8e9ce39c41 Mon Sep 17 00:00:00 2001 From: Humblesaw Date: Mon, 7 Jul 2025 13:33:37 +0200 Subject: [PATCH] tree data DOC better description of lyd_new_list3 --- src/tree_data.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tree_data.h b/src/tree_data.h index 1cd95d077..3f423acfa 100644 --- a/src/tree_data.h +++ b/src/tree_data.h @@ -1361,6 +1361,7 @@ LIBYANG_API_DECL LY_ERR lyd_new_list2(struct lyd_node *parent, const struct lys_ * @param[in] module Module of the node being created. If NULL, @p parent module will be used. * @param[in] name Schema node name of the new data node. The node must be #LYS_LIST. * @param[in] key_values Ordered key string values of the new list instance, all must be set. + * Use NULL in case of key-less list. * @param[in] value_lengths Array of lengths of each @p key_values, may be NULL if @p key_values are 0-terminated strings. * @param[in] options Bitmask of options, see @ref newvaloptions. * @param[out] node Optional created node.