summaryrefslogtreecommitdiffstats
path: root/trees.h
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2010-12-11 18:50:00 -0600
committerKamil Kaminski <kamilkss@gmail.com>2010-12-11 18:50:00 -0600
commit7e7ddb63cf68d8733a134bfbd22d309c7e152f26 (patch)
tree4f6693194a5ba3d86e34f782cd0db02a6f6a2565 /trees.h
parent010cad880b213dbdd1b69bfbaf0c3af1f44e474f (diff)
downloadtrees-7e7ddb63cf68d8733a134bfbd22d309c7e152f26.tar.gz
trees-7e7ddb63cf68d8733a134bfbd22d309c7e152f26.tar.bz2
trees-7e7ddb63cf68d8733a134bfbd22d309c7e152f26.zip
implement prefix, infix, and postfix binary tree print
Diffstat (limited to 'trees.h')
-rw-r--r--trees.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/trees.h b/trees.h
index 93f63d9..95a1c0a 100644
--- a/trees.h
+++ b/trees.h
@@ -16,7 +16,8 @@ struct tnode
/* function prototypes */
struct tnode *bintree_insert(struct tnode *, char *);
-void treeprint_inorder(struct tnode *);
-
+void treeprint_prefix(struct tnode *);
+void treeprint_infix(struct tnode *);
+void treeprint_postfix(struct tnode *);
#endif