Magisk/native/jni/magiskboot/compress.h

14 lines
289 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"
2019-11-23 10:57:52 +01:00
stream_ptr get_encoder(format_t type, sFILE &&fp);
stream_ptr get_decoder(format_t type, sFILE &&fp);
2019-02-21 02:49:26 +01:00
void compress(const char *method, const char *infile, const char *outfile);
2019-11-23 10:57:52 +01:00
2019-02-21 02:49:26 +01:00
void decompress(char *infile, const char *outfile);