20 #include <signaldata/GCP.hpp>
21 #include <RefConvert.hpp>
24 printGCPSaveReq(FILE * output,
25 const Uint32 * theData,
27 Uint16 receiverBlockNo){
31 fprintf(output,
" dihBlockRef = (%d, %d) dihPtr = %d gci = %d\n",
32 refToBlock(sr->dihBlockRef), refToNode(sr->dihBlockRef),
39 printGCPSaveRef(FILE * output,
40 const Uint32 * theData,
42 Uint16 receiverBlockNo){
46 fprintf(output,
" nodeId = %d dihPtr = %d gci = %d reason: ",
50 switch(sr->errorCode){
51 case GCPSaveRef::NodeShutdownInProgress:
52 fprintf(output,
"NodeShutdownInProgress\n");
54 case GCPSaveRef::FakedSignalDueToNodeFailure:
55 fprintf(output,
"FakedSignalDueToNodeFailure\n");
58 fprintf(output,
"Unknown reason: %d\n", sr->errorCode);
66 printGCPSaveConf(FILE * output,
67 const Uint32 * theData,
69 Uint16 receiverBlockNo){
73 fprintf(output,
" nodeId = %d dihPtr = %d gci = %d\n",