From 08505499d1449f53449e119aefc71324376b348b Mon Sep 17 00:00:00 2001
From: shenxin <shenxin@basic.com>
Date: 星期一, 23 八月 2021 19:40:14 +0800
Subject: [PATCH] 增加BHSubscribeNetTopics、BHQueryTopicAddress接口 修改CMakeLists.txt,增加相应文件到编译中。(需要安装protobuf)

---
 src/bus_error.h |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/bus_error.h b/src/bus_error.h
index 79f98d6..769aa36 100644
--- a/src/bus_error.h
+++ b/src/bus_error.h
@@ -4,10 +4,15 @@
 
 
 
-
-#define EBUS_TIMEOUT 1
-#define EBUS_CLOSED 2
-#define EBUS_KEY_INUSED 3
+#define EBUS_BASE 500
+#define EBUS_TIMEOUT 501
+#define EBUS_CLOSED 502
+#define EBUS_KEY_INUSED 503
+#define EBUS_NET 504
+#define EBUS_SENDTO_SELF 505
+#define EBUS_RECVFROM_WRONG_END 506
+#define EBUS_STOPED 507
+#define EBUS_EXCEED_LIMIT 508
 
 extern int bus_errno;
 

--
Gitblit v1.8.0