From 27d8bc7cad4a8f68c2da3efbb77f45ec70ae40e6 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 05 一月 2022 14:11:39 +0800
Subject: [PATCH] pb.go MsgQueryProcReply add subLocalTopics and subNetTopics

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

diff --git a/src/bus_error.h b/src/bus_error.h
index af7426a..dfcfe06 100644
--- a/src/bus_error.h
+++ b/src/bus_error.h
@@ -4,12 +4,24 @@
 
 
 
-
-#define EBUS_TIMEOUT 1
-#define EBUS_CLOSED 2
+#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
+#define EBUS_RES_UNSUPPORT  509
+#define EBUS_RES_BUSY  510
+#define EBUS_RES_NO  511
+#define EBUS_INVALID_PARA  512
+#define EBUS_NO_MEM       513
 
 extern int bus_errno;
 
-char *bus_strerror(int eno) ;
+char *bus_strerror(int eno, int flag = 0);
+void bus_errorset(int err);
 
 #endif
\ No newline at end of file

--
Gitblit v1.8.0