blob: 9c3cee10f3145aad074eb8ff684f6b5ce39678d4 (
plain) (
tree)
|
|
#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);
|