mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-10 03:41:57 +00:00
Add magisk daemon
This commit is contained in:
10
jni/daemon/daemon.h
Normal file
10
jni/daemon/daemon.h
Normal file
@@ -0,0 +1,10 @@
|
||||
/* daemon.h - Utility functions for daemon-client communication
|
||||
*/
|
||||
|
||||
// socket_trans.c
|
||||
int recv_fd(int sockfd);
|
||||
void send_fd(int sockfd, int fd);
|
||||
int read_int(int fd);
|
||||
void write_int(int fd, int val);
|
||||
char* read_string(int fd);
|
||||
void write_string(int fd, const char* val);
|
||||
Reference in New Issue
Block a user