Small native code reorganization

This commit is contained in:
topjohnwu
2020-03-09 01:50:30 -07:00
parent d6fdbfe9b7
commit a0998009c1
85 changed files with 216 additions and 317 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include <stream.hpp>
#include "format.hpp"
stream_ptr get_encoder(format_t type, stream_ptr &&base);
stream_ptr get_decoder(format_t type, stream_ptr &&base);
void compress(const char *method, const char *infile, const char *outfile);
void decompress(char *infile, const char *outfile);