blob: 93f63d944bf8d17f211b26bc707d58de9de0cc09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _TREES_H_
#define _TREES_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct tnode
{
char *text;
int count;
struct tnode *left;
struct tnode *right;
};
/* function prototypes */
struct tnode *bintree_insert(struct tnode *, char *);
void treeprint_inorder(struct tnode *);
#endif
|