baum
diff baum.h @ 9:c020b0d1cfca
read input is now finished in first version; removed init; added push and pull; name is now array instead of pointer
author | meillo@marmaro.de |
---|---|
date | Sat, 09 Feb 2008 16:41:41 +0100 |
parents | 15d7d6b9766f |
children | 0e15841ae111 |
line diff
1.1 --- a/baum.h Sat Feb 09 12:42:11 2008 +0100 1.2 +++ b/baum.h Sat Feb 09 16:41:41 2008 +0100 1.3 @@ -14,10 +14,14 @@ 1.4 1.5 1.6 struct Node { 1.7 - char* name; 1.8 + char name[256]; 1.9 unsigned char value; 1.10 struct Node* down; 1.11 struct Node* right; 1.12 }; 1.13 1.14 1.15 +struct Listitem { 1.16 + struct Node* node; 1.17 + struct Listitem* next; 1.18 +};