view baum.h @ 51:7d7abe88e71b

"input" node is now "create" node and can handle more than user input now
author meillo@marmaro.de
date Sun, 02 Mar 2008 16:17:18 +0100
parents c31b5bb6d493
children
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);

unsigned char action(struct Node* node); /* in actions.c */

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