20 #include <signaldata/MasterLCP.hpp>
21 #include <RefConvert.hpp>
25 print(
char *
buf,
size_t buf_len, MasterLCPConf::State s){
27 case MasterLCPConf::LCP_STATUS_IDLE:
30 case MasterLCPConf::LCP_STATUS_ACTIVE:
33 case MasterLCPConf::LCP_TAB_COMPLETED:
36 case MasterLCPConf::LCP_TAB_SAVED:
43 operator<<(NdbOut& out,
const MasterLCPConf::State& s){
45 print(buf,
sizeof(buf), s);
51 printMASTER_LCP_CONF(FILE * output,
52 const Uint32 * theData,
59 print(buf,
sizeof(buf), (MasterLCPConf::State)sig->lcpState);
60 fprintf(output,
" senderNode=%d failedNode=%d SenderState=%s\n",
61 sig->senderNodeId, sig->failedNodeId, buf);
66 printMASTER_LCP_REQ(FILE * output,
67 const Uint32 * theData,
73 fprintf(output,
" masterRef=(node=%d, block=%d), failedNode=%d\n",
74 refToNode(sig->masterRef), refToBlock(sig->masterRef),
80 printMASTER_LCP_REF(FILE * output,
81 const Uint32 * theData,
86 fprintf(output,
" senderNode=%d failedNode=%d\n",
87 sig->senderNodeId, sig->failedNodeId);