From 1e0bd8ebafe115e26cec5ab26e02098310829b8c Mon Sep 17 00:00:00 2001 From: Yurii Chechur Date: Tue, 24 Dec 2024 18:42:31 +0000 Subject: [PATCH] Update sk1/compressor.h --- sk1/compressor.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/sk1/compressor.h b/sk1/compressor.h index 80688f8..cf1958b 100644 --- a/sk1/compressor.h +++ b/sk1/compressor.h @@ -1,14 +1,10 @@ #ifndef COMPRESSOR_H #define COMPRESSOR_H -#include +// Функції компресії та декомпресії для двох алгоритмів +int compress_1(const char* input_file_name, const char* output_file_name); +int decompress_1(const char* input_file_name, const char* output_file_name); +int compress_2(const char* input_file_name, const char* output_file_name); +int decompress_2(const char* input_file_name, const char* output_file_name); -// Function prototypes for Huffman compression and decompression -void compress_1(const char* input_file_name, const char* output_file_name); -void decompress_1(const char* input_file_name, const char* output_file_name); - -// Function prototypes for RLE compression and decompression -void compress_2(const char* input_file_name, const char* output_file_name); -void decompress_2(const char* input_file_name, const char* output_file_name); - -#endif // COMPRESSOR_H +#endif