Mercurial > baum
diff baum.h @ 26:f0856c177403
removed obsolete stuff; only relevant stuff is extern now; refactoring
author | meillo@marmaro.de |
---|---|
date | Tue, 19 Feb 2008 22:23:37 +0100 |
parents | e2048e569891 |
children | ff01f0f076e4 |
line wrap: on
line diff
--- a/baum.h Wed Feb 13 22:04:50 2008 +0100 +++ b/baum.h Tue Feb 19 22:23:37 2008 +0100 @@ -2,17 +2,10 @@ 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); struct Node* insertLast(struct Node* node, struct Node* insert); +/* structs */ struct Node { char name[256]; unsigned char value; @@ -20,7 +13,6 @@ struct Node* right; }; - struct Stackitem { struct Node* node; struct Stackitem* next;