diff baum.h @ 3:15d7d6b9766f

added input; added nextNode, lastNode, insertLast
author meillo@marmaro.de
date Thu, 07 Feb 2008 16:15:07 +0100
parents 557fa4df2bcd
children c020b0d1cfca
line wrap: on
line diff
--- a/baum.h	Thu Feb 07 14:46:27 2008 +0100
+++ b/baum.h	Thu Feb 07 16:15:07 2008 +0100
@@ -1,11 +1,21 @@
 
 void logit(char* text);
 
+struct Node* newNode(char* name, unsigned char value);
+void setValue(struct Node* node, unsigned char value);
+void delete(struct Node* node);
+void printNode(struct Node* node);
+void printTree(struct Node* root);
+void traverse(struct Node* root);
+
+struct Node* nextNode(struct Node* node);
+struct Node* lastNode(struct Node* node);
+void insertLast(struct Node* node, struct Node* insert);
 
 
 struct Node {
 	char* name;
-	char value;
+	unsigned char value;
 	struct Node* down;
 	struct Node* right;
 };