@@ -528,12 +528,12 @@ int main (int argc, char *const argv[] __attribute__((__unused__))) {
#endif
dodefine(DB_GID_SIZE);
printf("typedef struct xid_t { /* This struct is intended to be binary compatible with the XID in the XA architecture. See source:/import/opengroup.org/C193.pdf */\n"
printf("typedef struct toku_xa_xid_s { /* This struct is intended to be binary compatible with the XID in the XA architecture. See source:/import/opengroup.org/C193.pdf */\n"
" long formatID; /* format identifier */\n"
" long gtrid_length; /* value from 1 through 64 */\n"
" long bqual_length; /* value from 1 through 64 */\n"
typedefstructxid_t{/* This struct is intended to be binary compatible with the XID in the XA architecture. See source:/import/opengroup.org/C193.pdf */
typedefstructtoku_xa_xid_s{/* This struct is intended to be binary compatible with the XID in the XA architecture. See source:/import/opengroup.org/C193.pdf */
typedefstructblocknum_s{int64_tb;}BLOCKNUM;// make a struct so that we will notice type problems.
typedefstructgid_s{uint8_t*gid;}GID;// the gid is of size [DB_GID_SIZE]
typedefXID*XIDP;// this is the type that's passed to the logger code (so that we don't have to copy all 152 bytes when only a subset are even valid.)
typedefTOKU_XA_XID*XIDP;// this is the type that's passed to the logger code (so that we don't have to copy all 152 bytes when only a subset are even valid.)