1*7c478bd9Sstevel@tonic-gate /* Do not edit: automatically built by dist/db_gen.sh. */
2*7c478bd9Sstevel@tonic-gate #ifndef txn_AUTO_H
3*7c478bd9Sstevel@tonic-gate #define txn_AUTO_H
4*7c478bd9Sstevel@tonic-gate 
5*7c478bd9Sstevel@tonic-gate #define	DB_txn_regop	(DB_txn_BEGIN + 1)
6*7c478bd9Sstevel@tonic-gate 
7*7c478bd9Sstevel@tonic-gate typedef struct _txn_regop_args {
8*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
9*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
10*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
11*7c478bd9Sstevel@tonic-gate 	u_int32_t	opcode;
12*7c478bd9Sstevel@tonic-gate } __txn_regop_args;
13*7c478bd9Sstevel@tonic-gate 
14*7c478bd9Sstevel@tonic-gate 
15*7c478bd9Sstevel@tonic-gate #define	DB_txn_ckp	(DB_txn_BEGIN + 2)
16*7c478bd9Sstevel@tonic-gate 
17*7c478bd9Sstevel@tonic-gate typedef struct _txn_ckp_args {
18*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
19*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
20*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
21*7c478bd9Sstevel@tonic-gate 	DB_LSN 	ckp_lsn;
22*7c478bd9Sstevel@tonic-gate 	DB_LSN 	last_ckp;
23*7c478bd9Sstevel@tonic-gate } __txn_ckp_args;
24*7c478bd9Sstevel@tonic-gate 
25*7c478bd9Sstevel@tonic-gate 
26*7c478bd9Sstevel@tonic-gate #define	DB_txn_xa_regop	(DB_txn_BEGIN + 3)
27*7c478bd9Sstevel@tonic-gate 
28*7c478bd9Sstevel@tonic-gate typedef struct _txn_xa_regop_args {
29*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
30*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
31*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
32*7c478bd9Sstevel@tonic-gate 	u_int32_t	opcode;
33*7c478bd9Sstevel@tonic-gate 	DBT	xid;
34*7c478bd9Sstevel@tonic-gate 	int32_t	formatID;
35*7c478bd9Sstevel@tonic-gate 	u_int32_t	gtrid;
36*7c478bd9Sstevel@tonic-gate 	u_int32_t	bqual;
37*7c478bd9Sstevel@tonic-gate 	DB_LSN 	begin_lsn;
38*7c478bd9Sstevel@tonic-gate } __txn_xa_regop_args;
39*7c478bd9Sstevel@tonic-gate 
40*7c478bd9Sstevel@tonic-gate 
41*7c478bd9Sstevel@tonic-gate #define	DB_txn_child	(DB_txn_BEGIN + 4)
42*7c478bd9Sstevel@tonic-gate 
43*7c478bd9Sstevel@tonic-gate typedef struct _txn_child_args {
44*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
45*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
46*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
47*7c478bd9Sstevel@tonic-gate 	u_int32_t	opcode;
48*7c478bd9Sstevel@tonic-gate 	u_int32_t	parent;
49*7c478bd9Sstevel@tonic-gate } __txn_child_args;
50*7c478bd9Sstevel@tonic-gate 
51*7c478bd9Sstevel@tonic-gate #endif
52