1 /* Do not edit: automatically built by gen_rec.awk. */
2 
3 #ifndef bam_AUTO_H
4 #define bam_AUTO_H
5 
6 #define	DB_bam_pg_alloc	(DB_bam_BEGIN + 1)
7 
8 typedef struct _bam_pg_alloc_args {
9 	u_int32_t type;
10 	DB_TXN *txnid;
11 	DB_LSN prev_lsn;
12 	int32_t	fileid;
13 	DB_LSN 	meta_lsn;
14 	DB_LSN 	page_lsn;
15 	db_pgno_t	pgno;
16 	u_int32_t	ptype;
17 	db_pgno_t	next;
18 } __bam_pg_alloc_args;
19 
20 int CDB___bam_pg_alloc_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, DB_LSN *, db_pgno_t, u_int32_t, db_pgno_t));
21 int CDB___bam_pg_alloc_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
22 int CDB___bam_pg_alloc_read __P((void *, __bam_pg_alloc_args **));
23 
24 #define	DB_bam_pg_free	(DB_bam_BEGIN + 2)
25 
26 typedef struct _bam_pg_free_args {
27 	u_int32_t type;
28 	DB_TXN *txnid;
29 	DB_LSN prev_lsn;
30 	int32_t	fileid;
31 	db_pgno_t	pgno;
32 	DB_LSN 	meta_lsn;
33 	DBT	header;
34 	db_pgno_t	next;
35 } __bam_pg_free_args;
36 
37 int CDB___bam_pg_free_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, const DBT *, db_pgno_t));
38 int CDB___bam_pg_free_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
39 int CDB___bam_pg_free_read __P((void *, __bam_pg_free_args **));
40 
41 #define	DB_bam_split	(DB_bam_BEGIN + 3)
42 
43 typedef struct _bam_split_args {
44 	u_int32_t type;
45 	DB_TXN *txnid;
46 	DB_LSN prev_lsn;
47 	int32_t	fileid;
48 	db_pgno_t	left;
49 	DB_LSN 	llsn;
50 	db_pgno_t	right;
51 	DB_LSN 	rlsn;
52 	u_int32_t	indx;
53 	db_pgno_t	npgno;
54 	DB_LSN 	nlsn;
55 	DBT	pg;
56 } __bam_split_args;
57 
58 int CDB___bam_split_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, const DBT *));
59 int CDB___bam_split_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
60 int CDB___bam_split_read __P((void *, __bam_split_args **));
61 
62 #define	DB_bam_rsplit	(DB_bam_BEGIN + 4)
63 
64 typedef struct _bam_rsplit_args {
65 	u_int32_t type;
66 	DB_TXN *txnid;
67 	DB_LSN prev_lsn;
68 	int32_t	fileid;
69 	db_pgno_t	pgno;
70 	DBT	pgdbt;
71 	db_pgno_t	nrec;
72 	DBT	rootent;
73 	DB_LSN 	rootlsn;
74 } __bam_rsplit_args;
75 
76 int CDB___bam_rsplit_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, const DBT *, db_pgno_t, const DBT *, DB_LSN *));
77 int CDB___bam_rsplit_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
78 int CDB___bam_rsplit_read __P((void *, __bam_rsplit_args **));
79 
80 #define	DB_bam_adj	(DB_bam_BEGIN + 5)
81 
82 typedef struct _bam_adj_args {
83 	u_int32_t type;
84 	DB_TXN *txnid;
85 	DB_LSN prev_lsn;
86 	int32_t	fileid;
87 	db_pgno_t	pgno;
88 	DB_LSN 	lsn;
89 	u_int32_t	indx;
90 	u_int32_t	indx_copy;
91 	u_int32_t	is_insert;
92 } __bam_adj_args;
93 
94 int CDB___bam_adj_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, u_int32_t, u_int32_t, u_int32_t));
95 int CDB___bam_adj_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
96 int CDB___bam_adj_read __P((void *, __bam_adj_args **));
97 
98 #define	DB_bam_cadjust	(DB_bam_BEGIN + 6)
99 
100 typedef struct _bam_cadjust_args {
101 	u_int32_t type;
102 	DB_TXN *txnid;
103 	DB_LSN prev_lsn;
104 	int32_t	fileid;
105 	db_pgno_t	pgno;
106 	DB_LSN 	lsn;
107 	u_int32_t	indx;
108 	int32_t	adjust;
109 	int32_t	total;
110 } __bam_cadjust_args;
111 
112 int CDB___bam_cadjust_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, u_int32_t, int32_t, int32_t));
113 int CDB___bam_cadjust_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
114 int CDB___bam_cadjust_read __P((void *, __bam_cadjust_args **));
115 
116 #define	DB_bam_cdel	(DB_bam_BEGIN + 7)
117 
118 typedef struct _bam_cdel_args {
119 	u_int32_t type;
120 	DB_TXN *txnid;
121 	DB_LSN prev_lsn;
122 	int32_t	fileid;
123 	db_pgno_t	pgno;
124 	DB_LSN 	lsn;
125 	u_int32_t	indx;
126 } __bam_cdel_args;
127 
128 int CDB___bam_cdel_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, u_int32_t));
129 int CDB___bam_cdel_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
130 int CDB___bam_cdel_read __P((void *, __bam_cdel_args **));
131 
132 #define	DB_bam_repl	(DB_bam_BEGIN + 8)
133 
134 typedef struct _bam_repl_args {
135 	u_int32_t type;
136 	DB_TXN *txnid;
137 	DB_LSN prev_lsn;
138 	int32_t	fileid;
139 	db_pgno_t	pgno;
140 	DB_LSN 	lsn;
141 	u_int32_t	indx;
142 	u_int32_t	isdeleted;
143 	DBT	orig;
144 	DBT	repl;
145 	u_int32_t	prefix;
146 	u_int32_t	suffix;
147 } __bam_repl_args;
148 
149 int CDB___bam_repl_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, DB_LSN *, u_int32_t, u_int32_t, const DBT *, const DBT *, u_int32_t, u_int32_t));
150 int CDB___bam_repl_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
151 int CDB___bam_repl_read __P((void *, __bam_repl_args **));
152 
153 #define	DB_bam_root	(DB_bam_BEGIN + 9)
154 
155 typedef struct _bam_root_args {
156 	u_int32_t type;
157 	DB_TXN *txnid;
158 	DB_LSN prev_lsn;
159 	int32_t	fileid;
160 	db_pgno_t	meta_pgno;
161 	db_pgno_t	root_pgno;
162 	DB_LSN 	meta_lsn;
163 } __bam_root_args;
164 
165 int CDB___bam_root_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, db_pgno_t, DB_LSN *));
166 int CDB___bam_root_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
167 int CDB___bam_root_read __P((void *, __bam_root_args **));
168 int CDB___bam_init_print __P((DB_ENV *));
169 #endif
170