blob: 0b9091331ae176ea1a0c1137382f095eef071782 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#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);
|