Mercurial > baum
view baum.h @ 57:21ff1783f640
using function pointers now, instead of a large if-else
author | meillo@marmaro.de |
---|---|
date | Wed, 25 Jun 2008 09:20:16 +0200 |
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; };