From c95e44f010c06f82d95d4264a90ec230e4bf307e Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 01 十二月 2020 17:52:08 +0800
Subject: [PATCH] add server socket

---
 libcbhomebus_func.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/libcbhomebus_func.h b/libcbhomebus_func.h
index f2cbbb7..83d663d 100644
--- a/libcbhomebus_func.h
+++ b/libcbhomebus_func.h
@@ -190,6 +190,21 @@
  */
 typedef int(*tfn_shm_mod_socket_remove_keys) (int*, int);
 
+/**
+ * 鍒涘缓
+ */
+typedef void *(*tfn_net_mod_server_socket_open)(int port) ;
+
+/**
+ * 鍏抽棴
+ */
+typedef void (*tfn_net_mod_server_socket_close)(void *_sockt) ;
+
+/**
+ * 鍚姩
+ */
+typedef int (*tfn_net_mod_server_socket_start)(void *_sockt);
+
 #ifdef __cplusplus
 }
 #endif

--
Gitblit v1.8.0