// // Created by Fear1ess on 2021/3/31. // #ifndef REYUNSDK_WDUN_H #define REYUNSDK_WDUN_H #include <android/log.h> #include "wd_syscall.h" #include <stdio.h> struct wd_funcs { FILE* (*wd_popen)(const char* cmd, const char* mode); int (*wd_pclose)(FILE* fp); int (*wd_system_property_get)(const char* key, /*out*/ char* value); }; #define logd(tag, fmt, args...) __android_log_print(ANDROID_LOG_DEBUG, tag, fmt, ##args) #define loge(tag, fmt, args...) __android_log_print(ANDROID_LOG_ERROR, tag, fmt, ##args) #endif //REYUNSDK_WDUN_H