view baum.h @ 27:1c3dd1e88bdf

empty stack at the end (thanks valgrind to show me this)
author meillo@marmaro.de
date Thu, 21 Feb 2008 10:09:36 +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;
};