1
/* Copyright (C) 2003 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
#include <signaldata/UtilDelete.hpp>
19
printUTIL_DELETE_REQ(FILE * out, const Uint32 * data, Uint32 l, Uint16 b){
20
(void)l; // Don't want compiler warning
21
(void)b; // Don't want compiler warning
23
UtilDeleteReq* sig = (UtilDeleteReq*)data;
24
fprintf(out, " senderData: %d prepareId: %d totalDataLen: %d\n",
29
" H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x\n"
30
" H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x\n"
31
" H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x H\'%.8x\n",
32
sig->attrData[0], sig->attrData[1], sig->attrData[2],
33
sig->attrData[3], sig->attrData[4], sig->attrData[5],
34
sig->attrData[6], sig->attrData[7], sig->attrData[8],
35
sig->attrData[9], sig->attrData[10], sig->attrData[11],
36
sig->attrData[12], sig->attrData[13], sig->attrData[14],
37
sig->attrData[15], sig->attrData[16], sig->attrData[17],
38
sig->attrData[18], sig->attrData[19], sig->attrData[20],
46
printUTIL_DELETE_CONF(FILE * out, const Uint32 * data, Uint32 l, Uint16 b){
47
(void)l; // Don't want compiler warning
48
(void)b; // Don't want compiler warning
50
UtilDeleteConf* sig = (UtilDeleteConf*)data;
51
fprintf(out, " senderData: %d\n", sig->senderData);
56
printUTIL_DELETE_REF(FILE * out, const Uint32 * data, Uint32 l, Uint16 b){
57
(void)l; // Don't want compiler warning
58
(void)b; // Don't want compiler warning
60
UtilDeleteRef* sig = (UtilDeleteRef*)data;
61
fprintf(out, " senderData: %d\n", sig->senderData);
62
fprintf(out, " errorCode: %d\n", sig->errorCode);