mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 04:25:27 +00:00
11 lines
272 B
C
11 lines
272 B
C
|
/* 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);
|