baum
view baum.h @ 46:22305a6e128d
added deep copy and fixed so node times
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 10:29:55 +0100 |
parents | 0b82169d4129 |
children | c31b5bb6d493 |
line source
1 int option_verbose;
3 struct Node* newNode(char* name, unsigned char value);
4 struct Node* insertLast(struct Node* node, struct Node* insert);
5 struct Node* copyTree(struct Node* node);
8 /* structs */
9 struct Node {
10 char name[256];
11 unsigned char value;
12 struct Node* down;
13 struct Node* right;
14 };