X-Git-Url: https://git.llucax.com/z.facultad/75.06/jacu.git/blobdiff_plain/0f208e595dd865267c9a4af16164c9874f8e334e..4ca9e227315aa797216a3eb0ea7d72e9db203143:/src/statichuff/main.c diff --git a/src/statichuff/main.c b/src/statichuff/main.c index 65a1c3d..d7200bb 100644 --- a/src/statichuff/main.c +++ b/src/statichuff/main.c @@ -37,17 +37,17 @@ int main(int argc, char* argv[]) if (cflag == 1) { /* Comprimo */ - shuff = shuff_init_static_byfile(argv[optind],argv[optind+1],volumesize*1024); + shuff = shuff_init_encoder_byfile(argv[optind],argv[optind+1],volumesize*1024); shuff_encode_file(shuff); - shuff_deinit_static_byfile(shuff); + shuff_deinit_encoder(shuff); free(shuff); } if (dflag == 1) { /* Descomprimo */ - shuff = shuff_init_static_byfile(argv[optind],argv[optind+1],0); + shuff = shuff_init_decoder(argv[optind],argv[optind+1]); shuff_decode_file(shuff); - shuff_deinit_static_byfile(shuff); + shuff_deinit_decoder(shuff); free(shuff); }