lichao
2021-06-03 69f60d8bcc5121eb952b57277c94ad5cecb8d44a
src/defs.h
@@ -39,9 +39,6 @@
   MQInfo mq_bus_;
   MQInfo mq_sender_;
   robust::AtomicReqRep init_rr_;
   std::atomic<MQId> mqid_;
   CenterInfo() :
       mqid_(100000) {}
};
const int kBHCenterPort = 24287;
@@ -59,7 +56,7 @@
ShmSocket &DefaultSender(SharedMemory &shm);
MQId NewSession();
bool CenterInit(SharedMemory &shm);
bool CenterInit();
bool GlobalInit(SharedMemory &shm);
typedef std::string Topic;
void SetLastError(const int ec, const std::string &msg);
@@ -74,4 +71,6 @@
// node mq is avail with in timeout; after that may get killed.
int NodeTimeoutSec();
std::string BHLogDir();
#endif // end of include guard: DEFS_KP8LKGD0