xref: /onnv-gate/usr/src/cmd/sendmail/db/include/db_auto.h (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /* Do not edit: automatically built by dist/db_gen.sh. */
2*0Sstevel@tonic-gate #ifndef db_AUTO_H
3*0Sstevel@tonic-gate #define db_AUTO_H
4*0Sstevel@tonic-gate 
5*0Sstevel@tonic-gate #define	DB_db_addrem	(DB_db_BEGIN + 1)
6*0Sstevel@tonic-gate 
7*0Sstevel@tonic-gate typedef struct _db_addrem_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 	u_int32_t	fileid;
13*0Sstevel@tonic-gate 	db_pgno_t	pgno;
14*0Sstevel@tonic-gate 	u_int32_t	indx;
15*0Sstevel@tonic-gate 	size_t	nbytes;
16*0Sstevel@tonic-gate 	DBT	hdr;
17*0Sstevel@tonic-gate 	DBT	dbt;
18*0Sstevel@tonic-gate 	DB_LSN 	pagelsn;
19*0Sstevel@tonic-gate } __db_addrem_args;
20*0Sstevel@tonic-gate 
21*0Sstevel@tonic-gate 
22*0Sstevel@tonic-gate #define	DB_db_split	(DB_db_BEGIN + 2)
23*0Sstevel@tonic-gate 
24*0Sstevel@tonic-gate typedef struct _db_split_args {
25*0Sstevel@tonic-gate 	u_int32_t type;
26*0Sstevel@tonic-gate 	DB_TXN *txnid;
27*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
28*0Sstevel@tonic-gate 	u_int32_t	opcode;
29*0Sstevel@tonic-gate 	u_int32_t	fileid;
30*0Sstevel@tonic-gate 	db_pgno_t	pgno;
31*0Sstevel@tonic-gate 	DBT	pageimage;
32*0Sstevel@tonic-gate 	DB_LSN 	pagelsn;
33*0Sstevel@tonic-gate } __db_split_args;
34*0Sstevel@tonic-gate 
35*0Sstevel@tonic-gate 
36*0Sstevel@tonic-gate #define	DB_db_big	(DB_db_BEGIN + 3)
37*0Sstevel@tonic-gate 
38*0Sstevel@tonic-gate typedef struct _db_big_args {
39*0Sstevel@tonic-gate 	u_int32_t type;
40*0Sstevel@tonic-gate 	DB_TXN *txnid;
41*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
42*0Sstevel@tonic-gate 	u_int32_t	opcode;
43*0Sstevel@tonic-gate 	u_int32_t	fileid;
44*0Sstevel@tonic-gate 	db_pgno_t	pgno;
45*0Sstevel@tonic-gate 	db_pgno_t	prev_pgno;
46*0Sstevel@tonic-gate 	db_pgno_t	next_pgno;
47*0Sstevel@tonic-gate 	DBT	dbt;
48*0Sstevel@tonic-gate 	DB_LSN 	pagelsn;
49*0Sstevel@tonic-gate 	DB_LSN 	prevlsn;
50*0Sstevel@tonic-gate 	DB_LSN 	nextlsn;
51*0Sstevel@tonic-gate } __db_big_args;
52*0Sstevel@tonic-gate 
53*0Sstevel@tonic-gate 
54*0Sstevel@tonic-gate #define	DB_db_ovref	(DB_db_BEGIN + 4)
55*0Sstevel@tonic-gate 
56*0Sstevel@tonic-gate typedef struct _db_ovref_args {
57*0Sstevel@tonic-gate 	u_int32_t type;
58*0Sstevel@tonic-gate 	DB_TXN *txnid;
59*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
60*0Sstevel@tonic-gate 	u_int32_t	fileid;
61*0Sstevel@tonic-gate 	db_pgno_t	pgno;
62*0Sstevel@tonic-gate 	int32_t	adjust;
63*0Sstevel@tonic-gate 	DB_LSN 	lsn;
64*0Sstevel@tonic-gate } __db_ovref_args;
65*0Sstevel@tonic-gate 
66*0Sstevel@tonic-gate 
67*0Sstevel@tonic-gate #define	DB_db_relink	(DB_db_BEGIN + 5)
68*0Sstevel@tonic-gate 
69*0Sstevel@tonic-gate typedef struct _db_relink_args {
70*0Sstevel@tonic-gate 	u_int32_t type;
71*0Sstevel@tonic-gate 	DB_TXN *txnid;
72*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
73*0Sstevel@tonic-gate 	u_int32_t	opcode;
74*0Sstevel@tonic-gate 	u_int32_t	fileid;
75*0Sstevel@tonic-gate 	db_pgno_t	pgno;
76*0Sstevel@tonic-gate 	DB_LSN 	lsn;
77*0Sstevel@tonic-gate 	db_pgno_t	prev;
78*0Sstevel@tonic-gate 	DB_LSN 	lsn_prev;
79*0Sstevel@tonic-gate 	db_pgno_t	next;
80*0Sstevel@tonic-gate 	DB_LSN 	lsn_next;
81*0Sstevel@tonic-gate } __db_relink_args;
82*0Sstevel@tonic-gate 
83*0Sstevel@tonic-gate 
84*0Sstevel@tonic-gate #define	DB_db_addpage	(DB_db_BEGIN + 6)
85*0Sstevel@tonic-gate 
86*0Sstevel@tonic-gate typedef struct _db_addpage_args {
87*0Sstevel@tonic-gate 	u_int32_t type;
88*0Sstevel@tonic-gate 	DB_TXN *txnid;
89*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
90*0Sstevel@tonic-gate 	u_int32_t	fileid;
91*0Sstevel@tonic-gate 	db_pgno_t	pgno;
92*0Sstevel@tonic-gate 	DB_LSN 	lsn;
93*0Sstevel@tonic-gate 	db_pgno_t	nextpgno;
94*0Sstevel@tonic-gate 	DB_LSN 	nextlsn;
95*0Sstevel@tonic-gate } __db_addpage_args;
96*0Sstevel@tonic-gate 
97*0Sstevel@tonic-gate 
98*0Sstevel@tonic-gate #define	DB_db_debug	(DB_db_BEGIN + 7)
99*0Sstevel@tonic-gate 
100*0Sstevel@tonic-gate typedef struct _db_debug_args {
101*0Sstevel@tonic-gate 	u_int32_t type;
102*0Sstevel@tonic-gate 	DB_TXN *txnid;
103*0Sstevel@tonic-gate 	DB_LSN prev_lsn;
104*0Sstevel@tonic-gate 	DBT	op;
105*0Sstevel@tonic-gate 	u_int32_t	fileid;
106*0Sstevel@tonic-gate 	DBT	key;
107*0Sstevel@tonic-gate 	DBT	data;
108*0Sstevel@tonic-gate 	u_int32_t	arg_flags;
109*0Sstevel@tonic-gate } __db_debug_args;
110*0Sstevel@tonic-gate 
111*0Sstevel@tonic-gate #endif
112