KasmVNC/common/network/webudp/WuHostNull.cpp
Lauri Kasanen 3b40a92548 Udp
2022-07-26 10:38:14 +00:00

12 lines
447 B
C++

#include "WuHost.h"
int32_t WuHostCreate(const char*, const char*, int32_t, WuHost** host) {
*host = NULL;
return WU_OK;
}
int32_t WuHostServe(WuHost*, WuEvent*, int) { return 0; }
void WuHostRemoveClient(WuHost*, WuClient*) {}
int32_t WuHostSendText(WuHost*, WuClient*, const char*, int32_t) { return 0; }
int32_t WuHostSendBinary(WuHost*, WuClient*, const uint8_t*, int32_t) { return 0; }
void WuHostSetErrorCallback(WuHost*, WuErrorFn) {}