#define MAXARR 30 #define MAXCHAR 95 typedef struct bintree_node { char c; float w; struct bintree_node *left; struct bintree_node *right; } BT_NODE; int find_lowest_node(BT_NODE **nodearray, int idex); BT_NODE *make_node(char c, float w, BT_NODE *left, BT_NODE *right); void build_huffman_table(char **table); void traverse_tree(BT_NODE *node, char *code, char **table); char *str_dup(char *string); BT_NODE *build_huffman_tree(); void compress(char *infile, char *outfile); void decompress(char *infile, char *outfile);