From c2cc00574415c612e82f0955523d422f59594912 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 06 五月 2021 19:40:38 +0800 Subject: [PATCH] disable center console log. --- src/defs.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/defs.h b/src/defs.h index 1c9e663..a95c81f 100644 --- a/src/defs.h +++ b/src/defs.h @@ -23,9 +23,11 @@ typedef uint64_t MQId; +const MQId kBHNodeInit = 10; const MQId kBHTopicCenter = 100; const MQId kBHTopicBus = 101; const MQId kBHUniCenter = 102; +inline const MQId BHInitAddress() { return kBHNodeInit; } inline const MQId BHTopicCenterAddress() { return kBHTopicCenter; } inline const MQId BHTopicBusAddress() { return kBHTopicBus; } inline const MQId BHUniCenterAddress() { return kBHUniCenter; } @@ -37,6 +39,7 @@ class SharedMemory; } // namespace bhome_shm +std::string BHomeShmName(); bhome_shm::SharedMemory &BHomeShm(); bool GlobalInit(bhome_shm::SharedMemory &shm); typedef std::string Topic; -- Gitblit v1.8.0