Enhance 'r' command to lookup values in the huffman tree
This commit is contained in:
parent
8d59720195
commit
3262f44afb
4 changed files with 70 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue