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 diff
     1.1 --- a/baum.h	Wed Feb 13 22:04:50 2008 +0100
     1.2 +++ b/baum.h	Tue Feb 19 22:23:37 2008 +0100
     1.3 @@ -2,17 +2,10 @@
     1.4  void logit(char* text);
     1.5  
     1.6  struct Node* newNode(char* name, unsigned char value);
     1.7 -void setValue(struct Node* node, unsigned char value);
     1.8 -void delete(struct Node* node);
     1.9 -void printNode(struct Node* node);
    1.10 -void printTree(struct Node* root);
    1.11 -void traverse(struct Node* root);
    1.12 -
    1.13 -struct Node* nextNode(struct Node* node);
    1.14 -struct Node* lastNode(struct Node* node);
    1.15  struct Node* insertLast(struct Node* node, struct Node* insert);
    1.16  
    1.17  
    1.18 +/* structs */
    1.19  struct Node {
    1.20  	char name[256];
    1.21  	unsigned char value;
    1.22 @@ -20,7 +13,6 @@
    1.23  	struct Node* right;
    1.24  };
    1.25  
    1.26 -
    1.27  struct Stackitem {
    1.28  	struct Node* node;
    1.29  	struct Stackitem* next;