baum
annotate baum.h @ 38:ff01f0f076e4
option_verbose is now global; stuff about warning when (expected) nodes are not there
author | meillo@marmaro.de |
---|---|
date | Sat, 01 Mar 2008 20:04:08 +0100 |
parents | f0856c177403 |
children | 1ad3d7305e5d |
rev | line source |
---|---|
meillo@38 | 1 int option_verbose; |
meillo@2 | 2 |
meillo@2 | 3 void logit(char* text); |
meillo@2 | 4 |
meillo@3 | 5 struct Node* newNode(char* name, unsigned char value); |
meillo@15 | 6 struct Node* insertLast(struct Node* node, struct Node* insert); |
meillo@2 | 7 |
meillo@2 | 8 |
meillo@26 | 9 /* structs */ |
meillo@1 | 10 struct Node { |
meillo@9 | 11 char name[256]; |
meillo@3 | 12 unsigned char value; |
meillo@1 | 13 struct Node* down; |
meillo@1 | 14 struct Node* right; |
meillo@1 | 15 }; |
meillo@1 | 16 |
meillo@10 | 17 struct Stackitem { |
meillo@9 | 18 struct Node* node; |
meillo@10 | 19 struct Stackitem* next; |
meillo@9 | 20 }; |