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