mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Simplify get manager app info logic
This commit is contained in:
@ -126,8 +126,8 @@ using db_row_cb = std::function<bool(db_row&)>;
|
||||
int get_db_settings(db_settings &cfg, int key = -1);
|
||||
int get_db_strings(db_strings &str, int key = -1);
|
||||
int get_uid_policy(su_access &su, int uid);
|
||||
bool check_manager(std::string *pkg = nullptr);
|
||||
bool validate_manager(std::string &pkg, int userid, struct stat *st);
|
||||
bool get_manager(int user_id, std::string *pkg, struct stat *st);
|
||||
bool get_manager(std::string *pkg = nullptr);
|
||||
void exec_sql(int client);
|
||||
char *db_exec(const char *sql);
|
||||
char *db_exec(const char *sql, const db_row_cb &fn);
|
||||
|
Reference in New Issue
Block a user