Mercurial > baum
view baum.h @ 10:0e15841ae111
s/list/stack/g because thats what it is
author | meillo@marmaro.de |
---|---|
date | Sat, 09 Feb 2008 16:49:29 +0100 |
parents | c020b0d1cfca |
children | e2048e569891 |
line wrap: on
line source
void logit(char* text); struct Node* newNode(char* name, unsigned char value); void setValue(struct Node* node, unsigned char value); void delete(struct Node* node); void printNode(struct Node* node); void printTree(struct Node* root); void traverse(struct Node* root); struct Node* nextNode(struct Node* node); struct Node* lastNode(struct Node* node); void insertLast(struct Node* node, struct Node* insert); struct Node { char name[256]; unsigned char value; struct Node* down; struct Node* right; }; struct Stackitem { struct Node* node; struct Stackitem* next; };