16 #include <signaldata/GetTabInfo.hpp>
17 #include <signaldata/DictTabInfo.hpp>
20 printGET_TABINFO_REQ(FILE* output,
const Uint32* theData, Uint32 len, Uint16 rbn)
23 fprintf(output,
" senderRef: 0x%x", sig->senderRef);
24 fprintf(output,
" senderData: %u", sig->senderData);
25 fprintf(output,
"\n");
26 fprintf(output,
" requestType: 0x%x", sig->requestType);
27 bool requestById = !(sig->requestType & GetTabInfoReq::RequestByName);
28 bool requestByName = (sig->requestType & GetTabInfoReq::RequestByName);
29 bool longSignalConf = (sig->requestType & GetTabInfoReq::LongSignalConf);
31 fprintf(output,
" RequestById");
33 fprintf(output,
" RequestByName");
35 fprintf(output,
" LongSignalConf");
36 fprintf(output,
"\n");
38 fprintf(output,
" tableId: %u", sig->tableId);
40 fprintf(output,
" tableNameLen: %u", sig->tableNameLen);
41 fprintf(output,
" schemaTransId: 0x%x", sig->schemaTransId);
42 fprintf(output,
"\n");
47 printGET_TABINFO_CONF(FILE* output,
const Uint32* theData, Uint32 len, Uint16 rbn)
50 fprintf(output,
" senderRef: 0x%x", sig->senderRef);
51 fprintf(output,
" senderData: %u", sig->senderData);
52 fprintf(output,
"\n");
53 fprintf(output,
" tableId: %u", sig->tableId);
54 fprintf(output,
" tableType: %u", sig->tableType);
55 fprintf(output,
"\n");
56 switch (sig->tableType) {
58 fprintf(output,
" freeExtents: %u", sig->freeExtents);
61 fprintf(output,
" freeWordsHi: %u", sig->freeWordsHi);
62 fprintf(output,
" freeWordsLo: %u", sig->freeWordsLo);
66 fprintf(output,
" freeExtents: %u", sig->freeExtents);
69 fprintf(output,
" gci: %u", sig->gci);
70 fprintf(output,
" totalLen: %u", sig->totalLen);
73 fprintf(output,
"\n");
78 printGET_TABINFO_REF(FILE* output,
const Uint32* theData, Uint32 len, Uint16 rbn)
81 fprintf(output,
" senderRef: 0x%x", sig->senderRef);
82 fprintf(output,
" senderData: %u", sig->senderData);
83 fprintf(output,
"\n");
84 fprintf(output,
" requestType: 0x%x", sig->requestType);
85 bool requestById = !(sig->requestType & GetTabInfoReq::RequestByName);
86 bool requestByName = (sig->requestType & GetTabInfoReq::RequestByName);
87 bool longSignalConf = (sig->requestType & GetTabInfoReq::LongSignalConf);
89 fprintf(output,
" RequestById");
91 fprintf(output,
" RequestByName");
93 fprintf(output,
" LongSignalConf");
94 fprintf(output,
"\n");
96 fprintf(output,
" tableId: %u", sig->tableId);
98 fprintf(output,
" tableNameLen: %u", sig->tableNameLen);
99 fprintf(output,
" schemaTransId: 0x%x", sig->schemaTransId);
100 fprintf(output,
" errorCode: %u", sig->errorCode);
101 fprintf(output,
" errorLine: %u", sig->errorLine);
102 fprintf(output,
"\n");