lichao
2021-04-15 c64c54d8e75b9354dc49a7b6b2d326e7dd59eb37
src/proto.h
@@ -72,7 +72,7 @@
   SetError(*msg.mutable_errmsg(), err_code, err_str);
   return msg;
}
std::string NewMsgId();
BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id, const std::string &msgid);
BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id);
// inline void AddRoute(BHMsgHead &head, const MQId &id) { head.add_route()->set_mq_id(&id, sizeof(id)); }