summaryrefslogtreecommitdiff
path: root/core/src/xmake/engine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-30 15:26:58 +0800
committerruki <[email protected]>2022-04-30 15:26:58 +0800
commitd7b6a62bcc8e3ffd680a3d2ec51daa2b2ed3ccb2 (patch)
tree214a698150428edbebb739ea0912377254c9a634 /core/src/xmake/engine.c
parenta3a4ed42a7ea357231fab14789c38f4848e4beee (diff)
check known hosts
Diffstat (limited to 'core/src/xmake/engine.c')
-rw-r--r--core/src/xmake/engine.c2
1 files changed, 2 insertions, 0 deletions
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 }