Magisk/native/jni/magiskboot/compress.h

11 lines
310 B
C
Raw Normal View History

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"
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);