Files
MWClash/core/bride.c
chen08209 e684beb3f3 Add android separates the core process
Support core status check and force restart

Optimize proxies page and access page

Update flutter and pub dependencies
2025-08-31 20:47:20 +08:00

31 lines
838 B
C

#include "bride.h"
void (*release_object_func)(void *obj);
void (*free_string_func)(char *data);
void (*protect_func)(void *tun_interface, int fd);
char* (*resolve_process_func)(void *tun_interface,int protocol, const char *source, const char *target, int uid);
void (*result_func)(void *invoke_Interface, const char *data);
void protect(void *tun_interface, int fd) {
protect_func(tun_interface, fd);
}
char* resolve_process(void *tun_interface, int protocol, const char *source, const char *target, int uid) {
return resolve_process_func(tun_interface, protocol, source, target, uid);
}
void release_object(void *obj) {
release_object_func(obj);
}
void free_string(char *data) {
free_string_func(data);
}
void result(void *invoke_Interface, const char *data) {
return result_func(invoke_Interface, data);
}