view baum.h @ 33:2e564bf8599c

new error code 6; more readable printTree; cleanups
author meillo@marmaro.de
date Sat, 01 Mar 2008 17:36:59 +0100
parents f0856c177403
children ff01f0f076e4
line wrap: on
line source


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;
};