You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
This commit improves how ReZygisk state is shown in the module description, reducing its size in favor of the same amount of information but in the WebUI, as all root implementations have WebUI available, even if it's through external applications due to incompetency, such as Magisk. closes #28
31 lines
632 B
C
31 lines
632 B
C
#ifndef SOCKET_UTILS_H
|
|
#define SOCKET_UTILS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
ssize_t write_loop(int fd, const void *buf, size_t count);
|
|
|
|
ssize_t read_loop(int fd, void *buf, size_t count);
|
|
|
|
int read_fd(int fd);
|
|
|
|
ssize_t write_string(int fd, const char *str);
|
|
|
|
char *read_string(int fd);
|
|
|
|
#define write_func_def(type) \
|
|
ssize_t write_## type(int fd, type val)
|
|
|
|
#define read_func_def(type) \
|
|
ssize_t read_## type(int fd, type *val)
|
|
|
|
write_func_def(uint8_t);
|
|
read_func_def(uint8_t);
|
|
|
|
write_func_def(uint32_t);
|
|
read_func_def(uint32_t);
|
|
|
|
write_func_def(size_t);
|
|
read_func_def(size_t);
|
|
|
|
#endif /* SOCKET_UTILS_H */ |