From 377e395a5fdc6ad44bdd5a2d41d2930f45fc4384 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 30 四月 2021 18:25:33 +0800 Subject: [PATCH] add node init msg, alloc msgq on success. --- src/defs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/defs.h b/src/defs.h index 43375bf..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; } -- Gitblit v1.8.0