Enhance 'r' command to lookup values in the huffman tree

This commit is contained in:
James Bowes 2012-09-06 11:51:37 -03:00
parent 8d59720195
commit 3262f44afb
4 changed files with 70 additions and 28 deletions

View file

@ -11,3 +11,5 @@ struct huffman_node *huffman_build_tree(void **values, int count);
void *huffman_lookup (struct huffman_node *tree, unsigned char *bits,
int *bits_read, bool print);
void huffman_reverse_lookup (struct huffman_node *tree, void *value);