Improve handshake between the 2 daemons

This commit is contained in:
topjohnwu
2018-07-06 07:51:17 +08:00
parent 5d5ec08566
commit 46ee2c3f4e
4 changed files with 71 additions and 81 deletions

View File

@ -25,8 +25,8 @@ enum {
ADD_HIDELIST,
RM_HIDELIST,
LS_HIDELIST,
MONITOR,
HIDE_CONNECT
HIDE_CONNECT,
HANDSHAKE
};
// Return codes for daemon
@ -55,6 +55,7 @@ void auto_start_magiskhide();
// log_monitor.c
extern int loggable;
void log_daemon();
// socket.c