From 1f3729698a131b3f701f67adb6a1258aa1235dce Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期二, 20 四月 2021 15:43:53 +0800
Subject: [PATCH] api server callback change tag to src; refactor.

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

diff --git a/src/defs.h b/src/defs.h
index 91d8cf3..08181d8 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -25,9 +25,9 @@
 
 typedef boost::uuids::uuid MQId;
 
-const MQId &BHTopicBus();
-const MQId &BHTopicReqRepCenter();
-const MQId &BHUniCenter();
+const MQId &BHTopicBusAddress();
+const MQId &BHTopicCenterAddress();
+const MQId &BHUniCenterAddress();
 
 const int kBHCenterPort = 24287;
 const char kTopicSep = '.';
@@ -38,7 +38,8 @@
 
 bhome_shm::SharedMemory &BHomeShm();
 typedef std::string Topic;
-
+void SetLastError(const int ec, const std::string &msg);
+void GetLastError(int &ec, std::string &msg);
 //TODO center can check shm for previous crash.
 
 #endif // end of include guard: DEFS_KP8LKGD0

--
Gitblit v1.8.0