diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/tree.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mds-kbdc/tree.h b/src/mds-kbdc/tree.h index 7bdbf3d..28d319d 100644 --- a/src/mds-kbdc/tree.h +++ b/src/mds-kbdc/tree.h @@ -20,6 +20,8 @@ #include <stddef.h> +#include <stdio.h> +#include <unistd.h> @@ -707,6 +709,15 @@ void mds_kbdc_tree_destroy(mds_kbdc_tree_t* restrict this); void mds_kbdc_tree_free(mds_kbdc_tree_t* restrict this); +/** + * Print a tree into a file + * + * @param this The tree node + * @param output The output file + */ +void mds_kbdc_tree_print(mds_kbdc_tree_t* restrict this, FILE* output); + + #undef MDS_KBDC_TREE_PADDING #undef MDS_KBDC_TREE_PADDING_ |