diff options
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/tree.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mds-kbdc/tree.h b/src/mds-kbdc/tree.h index ac6ba7e..13a79cb 100644 --- a/src/mds-kbdc/tree.h +++ b/src/mds-kbdc/tree.h @@ -646,6 +646,22 @@ union mds_kbdc_tree /** + * Initialise a tree node + * + * @param this The memory slot for the tree node + * @param type The type of the node + */ +void mds_kbdc_tree_initialise(mds_kbdc_tree_t* restrict this, int type); + +/** + * Create a tree node + * + * @param type The type of the node + * @return The tree node, `NULL` on error + */ +mds_kbdc_tree_t* mds_kbdc_tree_create(int type); + +/** * Release all resources stored in a tree node, * without freeing the node itself or freeing * or destroying inner `mds_kbdc_tree_t*`:s |