From 546bdaa58724ec6a19b56e800ad60963bd3bd1bc Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期四, 04 二月 2021 11:42:24 +0800 Subject: [PATCH] modify callback function --- src/socket/shm_mod_socket.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/socket/shm_mod_socket.h b/src/socket/shm_mod_socket.h index c0bd3d4..fb389a3 100644 --- a/src/socket/shm_mod_socket.h +++ b/src/socket/shm_mod_socket.h @@ -87,8 +87,10 @@ const struct timespec *timeout = NULL, int flag = 0); - int recvandsend(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback, - const struct timespec *timeout = NULL , int flag = 0, void * user_data = NULL); + /** + * + */ + int recvandsend( recvandsend_callback_fn callback, const struct timespec *timeout = NULL , int flag = 0, void * user_data = NULL); /** * 璁㈤槄鎸囧畾涓婚 -- Gitblit v1.8.0