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