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 wrap: on
line source

int option_verbose;

struct Node* newNode(char* name, unsigned char value);
struct Node* insertLast(struct Node* node, struct Node* insert);
struct Node* copyTree(struct Node* node);


/* structs */
struct Node {
	char name[256];
	unsigned char value;
	struct Node* down;
	struct Node* right;
};