11 lines
310 B
C
Raw Normal View History

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