1*7c478bd9Sstevel@tonic-gate /* Do not edit: automatically built by dist/db_gen.sh. */
2*7c478bd9Sstevel@tonic-gate 
3*7c478bd9Sstevel@tonic-gate /*
4*7c478bd9Sstevel@tonic-gate  * Copyright (c) 1998 by Sun Microsystems, Inc.
5*7c478bd9Sstevel@tonic-gate  * All rights reserved.
6*7c478bd9Sstevel@tonic-gate  */
7*7c478bd9Sstevel@tonic-gate 
8*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
9*7c478bd9Sstevel@tonic-gate 
10*7c478bd9Sstevel@tonic-gate #ifndef bam_AUTO_H
11*7c478bd9Sstevel@tonic-gate #define bam_AUTO_H
12*7c478bd9Sstevel@tonic-gate 
13*7c478bd9Sstevel@tonic-gate #define	DB_bam_pg_alloc	(DB_bam_BEGIN + 1)
14*7c478bd9Sstevel@tonic-gate 
15*7c478bd9Sstevel@tonic-gate typedef struct _bam_pg_alloc_args {
16*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
17*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
18*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
19*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
20*7c478bd9Sstevel@tonic-gate 	DB_LSN 	meta_lsn;
21*7c478bd9Sstevel@tonic-gate 	DB_LSN 	page_lsn;
22*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
23*7c478bd9Sstevel@tonic-gate 	u_int32_t	ptype;
24*7c478bd9Sstevel@tonic-gate 	db_pgno_t	next;
25*7c478bd9Sstevel@tonic-gate } __bam_pg_alloc_args;
26*7c478bd9Sstevel@tonic-gate 
27*7c478bd9Sstevel@tonic-gate 
28*7c478bd9Sstevel@tonic-gate #define	DB_bam_pg_free	(DB_bam_BEGIN + 2)
29*7c478bd9Sstevel@tonic-gate 
30*7c478bd9Sstevel@tonic-gate typedef struct _bam_pg_free_args {
31*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
32*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
33*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
34*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
35*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
36*7c478bd9Sstevel@tonic-gate 	DB_LSN 	meta_lsn;
37*7c478bd9Sstevel@tonic-gate 	DBT	header;
38*7c478bd9Sstevel@tonic-gate 	db_pgno_t	next;
39*7c478bd9Sstevel@tonic-gate } __bam_pg_free_args;
40*7c478bd9Sstevel@tonic-gate 
41*7c478bd9Sstevel@tonic-gate 
42*7c478bd9Sstevel@tonic-gate #define	DB_bam_split	(DB_bam_BEGIN + 3)
43*7c478bd9Sstevel@tonic-gate 
44*7c478bd9Sstevel@tonic-gate typedef struct _bam_split_args {
45*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
46*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
47*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
48*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
49*7c478bd9Sstevel@tonic-gate 	db_pgno_t	left;
50*7c478bd9Sstevel@tonic-gate 	DB_LSN 	llsn;
51*7c478bd9Sstevel@tonic-gate 	db_pgno_t	right;
52*7c478bd9Sstevel@tonic-gate 	DB_LSN 	rlsn;
53*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx;
54*7c478bd9Sstevel@tonic-gate 	db_pgno_t	npgno;
55*7c478bd9Sstevel@tonic-gate 	DB_LSN 	nlsn;
56*7c478bd9Sstevel@tonic-gate 	DBT	pg;
57*7c478bd9Sstevel@tonic-gate } __bam_split_args;
58*7c478bd9Sstevel@tonic-gate 
59*7c478bd9Sstevel@tonic-gate 
60*7c478bd9Sstevel@tonic-gate #define	DB_bam_rsplit	(DB_bam_BEGIN + 4)
61*7c478bd9Sstevel@tonic-gate 
62*7c478bd9Sstevel@tonic-gate typedef struct _bam_rsplit_args {
63*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
64*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
65*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
66*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
67*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
68*7c478bd9Sstevel@tonic-gate 	DBT	pgdbt;
69*7c478bd9Sstevel@tonic-gate 	db_pgno_t	nrec;
70*7c478bd9Sstevel@tonic-gate 	DBT	rootent;
71*7c478bd9Sstevel@tonic-gate 	DB_LSN 	rootlsn;
72*7c478bd9Sstevel@tonic-gate } __bam_rsplit_args;
73*7c478bd9Sstevel@tonic-gate 
74*7c478bd9Sstevel@tonic-gate 
75*7c478bd9Sstevel@tonic-gate #define	DB_bam_adj	(DB_bam_BEGIN + 5)
76*7c478bd9Sstevel@tonic-gate 
77*7c478bd9Sstevel@tonic-gate typedef struct _bam_adj_args {
78*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
79*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
80*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
81*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
82*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
83*7c478bd9Sstevel@tonic-gate 	DB_LSN 	lsn;
84*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx;
85*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx_copy;
86*7c478bd9Sstevel@tonic-gate 	u_int32_t	is_insert;
87*7c478bd9Sstevel@tonic-gate } __bam_adj_args;
88*7c478bd9Sstevel@tonic-gate 
89*7c478bd9Sstevel@tonic-gate 
90*7c478bd9Sstevel@tonic-gate #define	DB_bam_cadjust	(DB_bam_BEGIN + 6)
91*7c478bd9Sstevel@tonic-gate 
92*7c478bd9Sstevel@tonic-gate typedef struct _bam_cadjust_args {
93*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
94*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
95*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
96*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
97*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
98*7c478bd9Sstevel@tonic-gate 	DB_LSN 	lsn;
99*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx;
100*7c478bd9Sstevel@tonic-gate 	int32_t	adjust;
101*7c478bd9Sstevel@tonic-gate 	int32_t	total;
102*7c478bd9Sstevel@tonic-gate } __bam_cadjust_args;
103*7c478bd9Sstevel@tonic-gate 
104*7c478bd9Sstevel@tonic-gate 
105*7c478bd9Sstevel@tonic-gate #define	DB_bam_cdel	(DB_bam_BEGIN + 7)
106*7c478bd9Sstevel@tonic-gate 
107*7c478bd9Sstevel@tonic-gate typedef struct _bam_cdel_args {
108*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
109*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
110*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
111*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
112*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
113*7c478bd9Sstevel@tonic-gate 	DB_LSN 	lsn;
114*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx;
115*7c478bd9Sstevel@tonic-gate } __bam_cdel_args;
116*7c478bd9Sstevel@tonic-gate 
117*7c478bd9Sstevel@tonic-gate 
118*7c478bd9Sstevel@tonic-gate #define	DB_bam_repl	(DB_bam_BEGIN + 8)
119*7c478bd9Sstevel@tonic-gate 
120*7c478bd9Sstevel@tonic-gate typedef struct _bam_repl_args {
121*7c478bd9Sstevel@tonic-gate 	u_int32_t type;
122*7c478bd9Sstevel@tonic-gate 	DB_TXN *txnid;
123*7c478bd9Sstevel@tonic-gate 	DB_LSN prev_lsn;
124*7c478bd9Sstevel@tonic-gate 	u_int32_t	fileid;
125*7c478bd9Sstevel@tonic-gate 	db_pgno_t	pgno;
126*7c478bd9Sstevel@tonic-gate 	DB_LSN 	lsn;
127*7c478bd9Sstevel@tonic-gate 	u_int32_t	indx;
128*7c478bd9Sstevel@tonic-gate 	u_int32_t	isdeleted;
129*7c478bd9Sstevel@tonic-gate 	DBT	orig;
130*7c478bd9Sstevel@tonic-gate 	DBT	repl;
131*7c478bd9Sstevel@tonic-gate 	u_int32_t	prefix;
132*7c478bd9Sstevel@tonic-gate 	u_int32_t	suffix;
133*7c478bd9Sstevel@tonic-gate } __bam_repl_args;
134*7c478bd9Sstevel@tonic-gate 
135*7c478bd9Sstevel@tonic-gate #endif
136