#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_prefix(struct tnode *);
void treeprint_infix(struct tnode *);
void treeprint_postfix(struct tnode *);
#endif