From 5d0a6505c943367d09bb1e5a4c61f7eb9fa77317 Mon Sep 17 00:00:00 2001 From: Stefan Gula Date: Thu, 18 Jan 2024 09:37:08 +0100 Subject: [PATCH] Fixed docs --- src/context.c | 6 +++--- src/tree_data_internal.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/context.c b/src/context.c index 037d95c69..30b159913 100644 --- a/src/context.c +++ b/src/context.c @@ -240,7 +240,7 @@ ly_ctx_ht_err_equal_cb(void *val1_p, void *val2_p, ly_bool UNUSED(mod), void *UN } /** - * @brief Hash table value-equal callback for comparing term data node extension hash table record. + * @brief Hash table value-equal callback for comparing leafref links hash table record. */ static ly_bool ly_ctx_ht_leafref_links_equal_cb(void *val1_p, void *val2_p, ly_bool UNUSED(mod), void *UNUSED(cb_data)) @@ -251,9 +251,9 @@ ly_ctx_ht_leafref_links_equal_cb(void *val1_p, void *val2_p, ly_bool UNUSED(mod) } /** - * @brief Callback for freeing term data node extension hash table values. + * @brief Callback for freeing leafref links hash table values. * - * @param[in] val_p Pointer to a pointer to a term data node extension item to free with all the siblings. + * @param[in] val_p Pointer to a pointer to a leafref links item to free with all the siblings. */ static void ly_ctx_ht_leafref_links_rec_free(void *val_p) diff --git a/src/tree_data_internal.h b/src/tree_data_internal.h index 79cf26362..244c6f835 100644 --- a/src/tree_data_internal.h +++ b/src/tree_data_internal.h @@ -592,9 +592,9 @@ char *lyd_path_set(const struct ly_set *dnodes, LYD_PATH_TYPE pathtype); LY_ERR ly_set_rm_index_ordered(struct ly_set *set, uint32_t index, void (*destructor)(void *obj)); /** - * @brief Frees data within term data node extension record + * @brief Frees data within leafref links record * - * @param[in] rec The term data node extension record + * @param[in] rec The leafref links record */ void lyd_free_leafref_links_rec(struct lyd_leafref_links_rec *rec);