Separate scripting code

This commit is contained in:
topjohnwu
2019-02-15 20:45:05 -05:00
parent a19c7215d2
commit 19ee189468
7 changed files with 140 additions and 122 deletions

View File

@ -7,6 +7,8 @@
#include <pthread.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <string>
#include <vector>
// Commands require connecting to daemon
enum {
@ -62,6 +64,15 @@ void post_fs_data(int client);
void late_start(int client);
void boot_complete(int client);
/*************
* Scripting *
*************/
void exec_common_script(const char *stage);
void exec_module_script(const char *stage, const std::vector<std::string> &module_list);
void migrate_img(const char *img);
void install_apk(const char *apk);
/**************
* MagiskHide *
**************/