From d7b6a62bcc8e3ffd680a3d2ec51daa2b2ed3ccb2 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 30 Apr 2022 15:26:58 +0800 Subject: check known hosts --- core/src/xmake/engine.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/src/xmake/engine.c') diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c index 78a2f44fa..1a74387d2 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -142,6 +142,7 @@ tb_int_t xm_io_filelock_close(lua_State* lua); // the io/socket functions tb_int_t xm_io_socket_open(lua_State* lua); tb_int_t xm_io_socket_rawfd(lua_State* lua); +tb_int_t xm_io_socket_peeraddr(lua_State* lua); tb_int_t xm_io_socket_wait(lua_State* lua); tb_int_t xm_io_socket_bind(lua_State* lua); tb_int_t xm_io_socket_ctrl(lua_State* lua); @@ -345,6 +346,7 @@ static luaL_Reg const g_io_functions[] = , { "filelock_close", xm_io_filelock_close } , { "socket_open", xm_io_socket_open } , { "socket_rawfd", xm_io_socket_rawfd } +, { "socket_peeraddr", xm_io_socket_peeraddr } , { "socket_wait", xm_io_socket_wait } , { "socket_bind", xm_io_socket_bind } , { "socket_ctrl", xm_io_socket_ctrl } -- cgit v1.3.1