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.h | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/socket/net_mod_socket_wrapper.h b/src/socket/net_mod_socket_wrapper.h index 9bbdb21..830a992 100644 --- a/src/socket/net_mod_socket_wrapper.h +++ b/src/socket/net_mod_socket_wrapper.h @@ -12,6 +12,8 @@ NetModSocket *sockt; }; + + /** * 鍒涘缓 */ @@ -147,6 +149,17 @@ */ void net_mod_socket_free(void *buf) ; + +/** + * 鍒犻櫎key瀵瑰簲鐨勫叡浜槦鍒楋紝骞跺湪bus閲屽垹闄よkey鐨勮闃� + */ +int shm_mod_socket_remove_key(int key); + +/** + * 鎵归噺鍒犻櫎key瀵瑰簲鐨勫叡浜槦鍒楋紝骞跺湪bus閲屽垹闄よkey鐨勮闃� + */ +int shm_mod_socket_remove_keys(int keys[], int length); + #ifdef __cplusplus } #endif -- Gitblit v1.8.0