baum

view baum.h @ 25:6f2c1f9dc08f

Added tag 0.1 for changeset 69a7cf2f0c06a5e0f0609f80c875e2ceb7ffa9c2
author meillo@marmaro.de
date Wed, 13 Feb 2008 22:04:50 +0100
parents 0e15841ae111
children f0856c177403
line source
2 void logit(char* text);
4 struct Node* newNode(char* name, unsigned char value);
5 void setValue(struct Node* node, unsigned char value);
6 void delete(struct Node* node);
7 void printNode(struct Node* node);
8 void printTree(struct Node* root);
9 void traverse(struct Node* root);
11 struct Node* nextNode(struct Node* node);
12 struct Node* lastNode(struct Node* node);
13 struct Node* insertLast(struct Node* node, struct Node* insert);
16 struct Node {
17 char name[256];
18 unsigned char value;
19 struct Node* down;
20 struct Node* right;
21 };
24 struct Stackitem {
25 struct Node* node;
26 struct Stackitem* next;
27 };