view baum.h @ 39:96e2d58bc346

added new example program; added comments to example programs
author meillo@marmaro.de
date Sat, 01 Mar 2008 20:10:02 +0100
parents ff01f0f076e4
children 1ad3d7305e5d
line wrap: on
line source

int option_verbose;

void logit(char* text);

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


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

struct Stackitem {
	struct Node* node;
	struct Stackitem* next;
};