baum

annotate 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
rev   line source
meillo@2 1
meillo@2 2 void logit(char* text);
meillo@2 3
meillo@3 4 struct Node* newNode(char* name, unsigned char value);
meillo@15 5 struct Node* insertLast(struct Node* node, struct Node* insert);
meillo@2 6
meillo@2 7
meillo@26 8 /* structs */
meillo@1 9 struct Node {
meillo@9 10 char name[256];
meillo@3 11 unsigned char value;
meillo@1 12 struct Node* down;
meillo@1 13 struct Node* right;
meillo@1 14 };
meillo@1 15
meillo@10 16 struct Stackitem {
meillo@9 17 struct Node* node;
meillo@10 18 struct Stackitem* next;
meillo@9 19 };