Lines Matching refs:tree_node
13 typedef struct tree_node { struct
15 struct tree_node *left; argument
16 struct tree_node *right; argument
17 } tree_node; typedef
47 void insert(tree_node *root, char *word) { in insert()
60 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node)); in insert()
70 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node)); in insert()
82 void populate_dictionary(tree_node **dictionary, char *filename) { in populate_dictionary()
92 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node)); in populate_dictionary()
106 int find_word(tree_node *dictionary, char *word) { in find_word()
122 void print_tree(tree_node *dictionary) { in print_tree()
136 tree_node *dictionary = NULL; in main()