Add sk1/compressor.h

This commit is contained in:
Yurii Chechur 2024-12-24 15:10:07 +00:00
parent 6750abf18a
commit f3dd36184d

14
sk1/compressor.h Normal file
View File

@ -0,0 +1,14 @@
#ifndef COMPRESSOR_H
#define COMPRESSOR_H
#include <stdio.h>
// 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