2019-02-20 08:10:06 +01:00
|
|
|
#pragma once
|
|
|
|
|
2019-09-26 05:55:39 +02:00
|
|
|
#include <stream.h>
|
2019-02-20 08:10:06 +01:00
|
|
|
|
|
|
|
#include "format.h"
|
|
|
|
|
2019-11-21 12:08:02 +01:00
|
|
|
filter_stream *get_encoder(format_t type, FILE *fp = nullptr);
|
|
|
|
filter_stream *get_decoder(format_t type, FILE *fp = nullptr);
|
2019-02-21 02:49:26 +01:00
|
|
|
void compress(const char *method, const char *infile, const char *outfile);
|
|
|
|
void decompress(char *infile, const char *outfile);
|