From ed012804c8d089a3bca69574b198bdd987318f01 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 30 十一月 2020 11:00:16 +0800 Subject: [PATCH] update --- src/socket/net_mod_socket_wrapper.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/socket/net_mod_socket_wrapper.c b/src/socket/net_mod_socket_wrapper.c index d597644..7e7ed92 100644 --- a/src/socket/net_mod_socket_wrapper.c +++ b/src/socket/net_mod_socket_wrapper.c @@ -215,3 +215,14 @@ return NetModSocket::free_recv_msg_arr(arr, len); } + + + +int shm_mod_socket_remove_keys(int keys[], int length){ + return ShmModSocket::remove_keys(keys, length); +} + +int shm_mod_socket_remove_key(int key){ + int keys[] = {key}; + return ShmModSocket::remove_keys(keys, 1); +} -- Gitblit v1.8.0