]> git.llucax.com Git - z.facultad/75.06/jacu.git/blobdiff - src/statichuff/statichuff.h
Listo Huffman, Encoding y Decoding con Codigos de 32 bits maximo. Tambien arme el...
[z.facultad/75.06/jacu.git] / src / statichuff / statichuff.h
index eac6505e582c55f551de5058cabacc9cb50a70bf..8c3502de0c6a5e4815e482d43d4695c0fd158c67 100644 (file)
@@ -1,5 +1,9 @@
 
+#ifndef _STATICHUFF_H_
+#define _STATICHUFF_H_
+
 #include <stdio.h>
+#include <unistd.h>
 
 typedef unsigned long int t_freq;
 
@@ -14,3 +18,8 @@ typedef struct t_code {
        unsigned long int code;
        unsigned char codelength;
 } SHUFFCODE;
+
+int shuff_decode_file(char *inputfile, char *outputfile);
+int shuff_encode_file(char *inputfile, char *outputfile);
+
+#endif /* _STATICHUFF_H_ */