baum

annotate baum.h @ 46:22305a6e128d

added deep copy and fixed so node times
author meillo@marmaro.de
date Sun, 02 Mar 2008 10:29:55 +0100
parents 0b82169d4129
children c31b5bb6d493
rev   line source
meillo@38 1 int option_verbose;
meillo@2 2
meillo@3 3 struct Node* newNode(char* name, unsigned char value);
meillo@15 4 struct Node* insertLast(struct Node* node, struct Node* insert);
meillo@46 5 struct Node* copyTree(struct Node* node);
meillo@2 6
meillo@2 7
meillo@26 8 /* structs */
meillo@1 9 struct Node {
meillo@9 10 char name[256];
meillo@3 11 unsigned char value;
meillo@1 12 struct Node* down;
meillo@1 13 struct Node* right;
meillo@1 14 };