]> git.llucax.com Git - z.facultad/75.06/jacu.git/blobdiff - src/statichuff/statichuff.h
Se implementa zerogrouping sin uso de buffer (caracter a caracter). Esto mejora
[z.facultad/75.06/jacu.git] / src / statichuff / statichuff.h
index eac6505e582c55f551de5058cabacc9cb50a70bf..5699ebb6d2411bbe2adfb9ca5a711ba1ea7933b6 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, long volsize);
+
+#endif /* _STATICHUFF_H_ */