From 14755ab48a9d8f942076e72a4ea064813e06407f Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期日, 07 二月 2021 13:09:02 +0800
Subject: [PATCH] udate

---
 src/net/net_mod_socket_wrapper.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/net/net_mod_socket_wrapper.h b/src/net/net_mod_socket_wrapper.h
index e29fe5b..e823cc8 100644
--- a/src/net/net_mod_socket_wrapper.h
+++ b/src/net/net_mod_socket_wrapper.h
@@ -245,7 +245,7 @@
    *
    * @return 鎴愬姛鍙戝竷鐨勮妭鐐圭殑涓暟
    */
-int net_mod_socket_pub(void *_sockt, net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size);
+int net_mod_socket_pub(void *_sockt, net_node_t *node_arr, int node_arr_len, const char *topic, int topic_size, const void *content, int content_size);
 
 
 /**
@@ -260,7 +260,7 @@
   *
   * @return 鎴愬姛鍙戝竷鐨勮妭鐐圭殑涓暟
   */
-int net_mod_socket_pub_timeout(void *_sockt, net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size, int msec);
+int net_mod_socket_pub_timeout(void *_sockt, net_node_t *node_arr, int node_arr_len, const char *topic, int topic_size, const void *content, int content_size, int msec);
 
 
 /**
@@ -274,7 +274,7 @@
   *
   * @return 鎴愬姛鍙戝竷鐨勮妭鐐圭殑涓暟
   */
-int net_mod_socket_pub_nowait(void *_sockt, net_node_t *node_arr, int node_arr_len, char *topic, int topic_size, void *content, int content_size);
+int net_mod_socket_pub_nowait(void *_sockt, net_node_t *node_arr, int node_arr_len, const char *topic, int topic_size, const void *content, int content_size);
 
 /**
  * @brief 璁㈤槄鎰熷叴瓒d富棰樼殑娑堟伅

--
Gitblit v1.8.0