blob: 9c3cee10f3145aad074eb8ff684f6b5ce39678d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef TREE_H
struct tnode {
char *word;
int count;
int match;
struct tnode *left;
struct tnode *right;
};
enum { NO, YES };
#define TREE_H
#endif
struct tnode *naddtree(struct tnode *p, char *w, int bar, int *found);
void ntreeprint(struct tnode *p);
void treefree(struct tnode *p);
|