mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-25 06:49:06 +00:00
Small native code reorganization
This commit is contained in:
13
native/jni/magiskboot/compress.hpp
Normal file
13
native/jni/magiskboot/compress.hpp
Normal 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);
|
||||
Reference in New Issue
Block a user