From 758438289fc45829a8f6cef1b42afed0a1a8cb60 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 03 二月 2021 15:59:58 +0800
Subject: [PATCH] uuid msg

---
 src/net/net_mod_socket.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/net/net_mod_socket.h b/src/net/net_mod_socket.h
index 612f784..5b2e930 100644
--- a/src/net/net_mod_socket.h
+++ b/src/net/net_mod_socket.h
@@ -192,8 +192,14 @@
   int sendandrecv_timeout( const void *send_buf, const int send_size, const int send_key, void **recv_buf, int *recv_size, int sec, int nsec) ;
   int sendandrecv_nowait( const void *send_buf, const int send_size, const int send_key, void **recv_buf, int *recv_size) ;
 
- 
-   /**
+
+  int recvandsend(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback) ;
+
+  int recvandsend_timeout(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback,
+                                        const struct timespec *timeout );
+  int recvandsend_nowait(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback);
+
+  /**
    * 鍚憂ode_arr 涓殑鎵�鏈夌綉缁滆妭鐐瑰彂甯冩秷鎭�
    * @node_arr 缃戠粶鑺傜偣缁�, @node_arr_len璇ユ暟缁勯暱搴�
    * @topic 涓婚锛孈topic_size 璇ヤ富棰樼殑闀垮害

--
Gitblit v1.8.0