comparison 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
comparison
equal deleted inserted replaced
8:495a56e706dc 9:c020b0d1cfca
12 struct Node* lastNode(struct Node* node); 12 struct Node* lastNode(struct Node* node);
13 void insertLast(struct Node* node, struct Node* insert); 13 void insertLast(struct Node* node, struct Node* insert);
14 14
15 15
16 struct Node { 16 struct Node {
17 char* name; 17 char name[256];
18 unsigned char value; 18 unsigned char value;
19 struct Node* down; 19 struct Node* down;
20 struct Node* right; 20 struct Node* right;
21 }; 21 };
22 22
23 23
24 struct Listitem {
25 struct Node* node;
26 struct Listitem* next;
27 };