aboutsummaryrefslogtreecommitdiff
path: root/src/include/tree.h
diff options
context:
space:
mode:
authorc2024-04-27 09:59:47 -0400
committerc2024-04-27 09:59:47 -0400
commitfc7edb22079845ccd548e2034ff7193ca54f47ea (patch)
treea692c1e8c280186b0a74d73761067341b1886886 /src/include/tree.h
parent44d1f80279000efddbd8f24108f33297a9d2ad52 (diff)
Doer things.
Diffstat (limited to 'src/include/tree.h')
-rw-r--r--src/include/tree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/tree.h b/src/include/tree.h
index 5e0279f..d22efc1 100644
--- a/src/include/tree.h
+++ b/src/include/tree.h
@@ -101,6 +101,12 @@ int tree_cmp(tree_t* tree_0, tree_t* tree_1);
// Swaps a tree for another.
void tree_swp_call(tree_t* t0, tree_t* t1);
+// Determines if a tree_type_t matches a string.
+int tree_type_str(tree_type_t tree_type, char* str);
+
+// Returns a string for a tree type.
+char* tree_type2str(tree_type_t tree_type);
+
/* Print a tree. */
void tree_print(tree_t* tree, int nest);