diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/tree.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mds-kbdc/tree.h b/src/mds-kbdc/tree.h index f3ad7f2..c36cec4 100644 --- a/src/mds-kbdc/tree.h +++ b/src/mds-kbdc/tree.h @@ -714,6 +714,16 @@ void mds_kbdc_tree_free(mds_kbdc_tree_t* restrict this); /** + * Create a duplicate of a tree node and + * its children + * + * @param this The tree node + * @return A duplicate of `this`, `NULL` on error + */ +mds_kbdc_tree_t* mds_kbdc_tree_dup(mds_kbdc_tree_t* restrict this); + + +/** * Print a tree into a file * * @param this The tree node |