blob: e976495b26aa34adaf2e2d4aaeb84c42c1210646 (
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;
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 prevmatch);
void ntreeprint(struct tnode *p);
void treefree(struct tnode *p);
struct tnode *talloc(void);
char *sneed_strdup(char *s);
|