blob: 0b9091331ae176ea1a0c1137382f095eef071782 (
plain) (
tree)
|
|
#ifndef TREE_H
struct tnode {
char *word;
struct linklist *lines;
struct tnode *left;
struct tnode *right;
};
struct linklist {
int linenum;
struct linklist *ptr;
};
#define TREE_H
#endif
struct tnode *addtree(struct tnode *p, char *w, int linenum);
void tprint(struct tnode *p);
void tfree(struct tnode *p);
|