baum
view baum.h @ 27:1c3dd1e88bdf
empty stack at the end (thanks valgrind to show me this)
author | meillo@marmaro.de |
---|---|
date | Thu, 21 Feb 2008 10:09:36 +0100 |
parents | e2048e569891 |
children | ff01f0f076e4 |
line source
2 void logit(char* text);
4 struct Node* newNode(char* name, unsigned char value);
5 struct Node* insertLast(struct Node* node, struct Node* insert);
8 /* structs */
9 struct Node {
10 char name[256];
11 unsigned char value;
12 struct Node* down;
13 struct Node* right;
14 };
16 struct Stackitem {
17 struct Node* node;
18 struct Stackitem* next;
19 };