mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-13 05:17:37 -08:00
Move bootstage into Rust
This commit is contained in:
@@ -28,7 +28,6 @@ enum class RespondCode : int {
|
||||
|
||||
extern std::string native_bridge;
|
||||
|
||||
void reset_zygisk(bool restore);
|
||||
int connect_daemon(int req, bool create = false);
|
||||
void unlock_blocks();
|
||||
|
||||
@@ -52,8 +51,6 @@ void remove_modules();
|
||||
|
||||
// Scripting
|
||||
void exec_script(const char *script);
|
||||
void exec_common_scripts(const char *stage);
|
||||
void exec_module_scripts(const char *stage, const rust::Vec<ModuleInfo> &module_list);
|
||||
void clear_pkg(const char *pkg, int user_id);
|
||||
[[noreturn]] void install_module(const char *file);
|
||||
|
||||
|
||||
@@ -2,7 +2,14 @@
|
||||
|
||||
#include <base.hpp>
|
||||
|
||||
struct ModuleInfo;
|
||||
|
||||
const char *get_magisk_tmp();
|
||||
bool setup_magisk_env();
|
||||
bool check_key_combo();
|
||||
void disable_modules();
|
||||
void exec_common_scripts(rust::Utf8CStr stage);
|
||||
void exec_module_scripts(rust::Utf8CStr stage, const rust::Vec<ModuleInfo> &module_list);
|
||||
void install_apk(rust::Utf8CStr apk);
|
||||
void uninstall_pkg(rust::Utf8CStr pkg);
|
||||
void update_deny_flags(int uid, rust::Str process, uint32_t &flags);
|
||||
Reference in New Issue
Block a user