about summary refs log tree commit diff
path: root/db2/include/txn_auto.h
blob: bb3de4eb173649ae80df8b5a10c02e382c71119e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* Do not edit: automatically built by dist/db_gen.sh. */
#ifndef txn_AUTO_H
#define txn_AUTO_H

#define	DB_txn_regop	(DB_txn_BEGIN + 1)

typedef struct _txn_regop_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	u_int32_t	opcode;
} __txn_regop_args;


#define	DB_txn_ckp	(DB_txn_BEGIN + 2)

typedef struct _txn_ckp_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	DB_LSN 	ckp_lsn;
	DB_LSN 	last_ckp;
} __txn_ckp_args;


#define	DB_txn_xa_regop	(DB_txn_BEGIN + 3)

typedef struct _txn_xa_regop_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	u_int32_t	opcode;
	DBT	xid;
	int32_t	formatID;
	u_int32_t	gtrid;
	u_int32_t	bqual;
	DB_LSN 	begin_lsn;
} __txn_xa_regop_args;


#define	DB_txn_child	(DB_txn_BEGIN + 4)

typedef struct _txn_child_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	u_int32_t	opcode;
	u_int32_t	parent;
} __txn_child_args;

#endif