Update sk1/compressor.h

This commit is contained in:
Yurii Chechur 2024-12-24 18:42:31 +00:00
parent 3935a5851e
commit 1e0bd8ebaf

View File

@ -1,14 +1,10 @@
#ifndef COMPRESSOR_H #ifndef COMPRESSOR_H
#define COMPRESSOR_H #define COMPRESSOR_H
#include <stdio.h> // Функції компресії та декомпресії для двох алгоритмів
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 #endif
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