1 /* Do not edit: automatically built by gen_rec.awk. */
2 
3 #include "db_config.h"
4 
5 #include "db_int.h"
6 #include "dbinc/crypto.h"
7 #include "dbinc/db_page.h"
8 #include "dbinc/db_am.h"
9 #include "dbinc/txn.h"
10 #include "dbinc/fop.h"
11 
12 /*
13  * PUBLIC: int __fop_create_42_print __P((ENV *, DBT *, DB_LSN *,
14  * PUBLIC:     db_recops, void *));
15  */
16 int
__fop_create_42_print(env,dbtp,lsnp,notused2,info)17 __fop_create_42_print(env, dbtp, lsnp, notused2, info)
18 	ENV *env;
19 	DBT *dbtp;
20 	DB_LSN *lsnp;
21 	db_recops notused2;
22 	void *info;
23 {
24 	COMPQUIET(notused2, DB_TXN_PRINT);
25 
26 	return (__log_print_record(env, dbtp, lsnp, "__fop_create_42", __fop_create_42_desc, info));
27 }
28 
29 /*
30  * PUBLIC: int __fop_create_60_print __P((ENV *, DBT *, DB_LSN *,
31  * PUBLIC:     db_recops, void *));
32  */
33 int
__fop_create_60_print(env,dbtp,lsnp,notused2,info)34 __fop_create_60_print(env, dbtp, lsnp, notused2, info)
35 	ENV *env;
36 	DBT *dbtp;
37 	DB_LSN *lsnp;
38 	db_recops notused2;
39 	void *info;
40 {
41 	COMPQUIET(notused2, DB_TXN_PRINT);
42 
43 	return (__log_print_record(env, dbtp, lsnp, "__fop_create_60", __fop_create_60_desc, info));
44 }
45 
46 /*
47  * PUBLIC: int __fop_create_print __P((ENV *, DBT *, DB_LSN *,
48  * PUBLIC:     db_recops, void *));
49  */
50 int
__fop_create_print(env,dbtp,lsnp,notused2,info)51 __fop_create_print(env, dbtp, lsnp, notused2, info)
52 	ENV *env;
53 	DBT *dbtp;
54 	DB_LSN *lsnp;
55 	db_recops notused2;
56 	void *info;
57 {
58 	COMPQUIET(notused2, DB_TXN_PRINT);
59 
60 	return (__log_print_record(env, dbtp, lsnp, "__fop_create", __fop_create_desc, info));
61 }
62 
63 /*
64  * PUBLIC: int __fop_remove_60_print __P((ENV *, DBT *, DB_LSN *,
65  * PUBLIC:     db_recops, void *));
66  */
67 int
__fop_remove_60_print(env,dbtp,lsnp,notused2,info)68 __fop_remove_60_print(env, dbtp, lsnp, notused2, info)
69 	ENV *env;
70 	DBT *dbtp;
71 	DB_LSN *lsnp;
72 	db_recops notused2;
73 	void *info;
74 {
75 	COMPQUIET(notused2, DB_TXN_PRINT);
76 
77 	return (__log_print_record(env, dbtp, lsnp, "__fop_remove_60", __fop_remove_60_desc, info));
78 }
79 
80 /*
81  * PUBLIC: int __fop_remove_print __P((ENV *, DBT *, DB_LSN *,
82  * PUBLIC:     db_recops, void *));
83  */
84 int
__fop_remove_print(env,dbtp,lsnp,notused2,info)85 __fop_remove_print(env, dbtp, lsnp, notused2, info)
86 	ENV *env;
87 	DBT *dbtp;
88 	DB_LSN *lsnp;
89 	db_recops notused2;
90 	void *info;
91 {
92 	COMPQUIET(notused2, DB_TXN_PRINT);
93 
94 	return (__log_print_record(env, dbtp, lsnp, "__fop_remove", __fop_remove_desc, info));
95 }
96 
97 /*
98  * PUBLIC: int __fop_write_42_print __P((ENV *, DBT *, DB_LSN *,
99  * PUBLIC:     db_recops, void *));
100  */
101 int
__fop_write_42_print(env,dbtp,lsnp,notused2,info)102 __fop_write_42_print(env, dbtp, lsnp, notused2, info)
103 	ENV *env;
104 	DBT *dbtp;
105 	DB_LSN *lsnp;
106 	db_recops notused2;
107 	void *info;
108 {
109 	COMPQUIET(notused2, DB_TXN_PRINT);
110 
111 	return (__log_print_record(env, dbtp, lsnp, "__fop_write_42", __fop_write_42_desc, info));
112 }
113 
114 /*
115  * PUBLIC: int __fop_write_60_print __P((ENV *, DBT *, DB_LSN *,
116  * PUBLIC:     db_recops, void *));
117  */
118 int
__fop_write_60_print(env,dbtp,lsnp,notused2,info)119 __fop_write_60_print(env, dbtp, lsnp, notused2, info)
120 	ENV *env;
121 	DBT *dbtp;
122 	DB_LSN *lsnp;
123 	db_recops notused2;
124 	void *info;
125 {
126 	COMPQUIET(notused2, DB_TXN_PRINT);
127 
128 	return (__log_print_record(env, dbtp, lsnp, "__fop_write_60", __fop_write_60_desc, info));
129 }
130 
131 /*
132  * PUBLIC: int __fop_write_print __P((ENV *, DBT *, DB_LSN *,
133  * PUBLIC:     db_recops, void *));
134  */
135 int
__fop_write_print(env,dbtp,lsnp,notused2,info)136 __fop_write_print(env, dbtp, lsnp, notused2, info)
137 	ENV *env;
138 	DBT *dbtp;
139 	DB_LSN *lsnp;
140 	db_recops notused2;
141 	void *info;
142 {
143 	COMPQUIET(notused2, DB_TXN_PRINT);
144 
145 	return (__log_print_record(env, dbtp, lsnp, "__fop_write", __fop_write_desc, info));
146 }
147 
148 /*
149  * PUBLIC: int __fop_write_file_60_print __P((ENV *, DBT *, DB_LSN *,
150  * PUBLIC:     db_recops, void *));
151  */
152 int
__fop_write_file_60_print(env,dbtp,lsnp,notused2,info)153 __fop_write_file_60_print(env, dbtp, lsnp, notused2, info)
154 	ENV *env;
155 	DBT *dbtp;
156 	DB_LSN *lsnp;
157 	db_recops notused2;
158 	void *info;
159 {
160 	COMPQUIET(notused2, DB_TXN_PRINT);
161 
162 	return (__log_print_record(env, dbtp, lsnp, "__fop_write_file_60", __fop_write_file_60_desc, info));
163 }
164 
165 /*
166  * PUBLIC: int __fop_write_file_print __P((ENV *, DBT *, DB_LSN *,
167  * PUBLIC:     db_recops, void *));
168  */
169 int
__fop_write_file_print(env,dbtp,lsnp,notused2,info)170 __fop_write_file_print(env, dbtp, lsnp, notused2, info)
171 	ENV *env;
172 	DBT *dbtp;
173 	DB_LSN *lsnp;
174 	db_recops notused2;
175 	void *info;
176 {
177 	COMPQUIET(notused2, DB_TXN_PRINT);
178 
179 	return (__log_print_record(env, dbtp, lsnp, "__fop_write_file", __fop_write_file_desc, info));
180 }
181 
182 /*
183  * PUBLIC: int __fop_rename_42_print __P((ENV *, DBT *, DB_LSN *,
184  * PUBLIC:     db_recops, void *));
185  */
186 int
__fop_rename_42_print(env,dbtp,lsnp,notused2,info)187 __fop_rename_42_print(env, dbtp, lsnp, notused2, info)
188 	ENV *env;
189 	DBT *dbtp;
190 	DB_LSN *lsnp;
191 	db_recops notused2;
192 	void *info;
193 {
194 	COMPQUIET(notused2, DB_TXN_PRINT);
195 
196 	return (__log_print_record(env, dbtp, lsnp, "__fop_rename_42", __fop_rename_42_desc, info));
197 }
198 
199 /*
200  * PUBLIC: int __fop_rename_60_print __P((ENV *, DBT *, DB_LSN *,
201  * PUBLIC:     db_recops, void *));
202  */
203 int
__fop_rename_60_print(env,dbtp,lsnp,notused2,info)204 __fop_rename_60_print(env, dbtp, lsnp, notused2, info)
205 	ENV *env;
206 	DBT *dbtp;
207 	DB_LSN *lsnp;
208 	db_recops notused2;
209 	void *info;
210 {
211 	COMPQUIET(notused2, DB_TXN_PRINT);
212 
213 	return (__log_print_record(env, dbtp, lsnp, "__fop_rename_60", __fop_rename_60_desc, info));
214 }
215 
216 /*
217  * PUBLIC: int __fop_rename_print __P((ENV *, DBT *, DB_LSN *,
218  * PUBLIC:     db_recops, void *));
219  */
220 int
__fop_rename_print(env,dbtp,lsnp,notused2,info)221 __fop_rename_print(env, dbtp, lsnp, notused2, info)
222 	ENV *env;
223 	DBT *dbtp;
224 	DB_LSN *lsnp;
225 	db_recops notused2;
226 	void *info;
227 {
228 	COMPQUIET(notused2, DB_TXN_PRINT);
229 
230 	return (__log_print_record(env, dbtp, lsnp, "__fop_rename", __fop_rename_desc, info));
231 }
232 
233 /*
234  * PUBLIC: int __fop_file_remove_60_print __P((ENV *, DBT *,
235  * PUBLIC:     DB_LSN *, db_recops, void *));
236  */
237 int
__fop_file_remove_60_print(env,dbtp,lsnp,notused2,info)238 __fop_file_remove_60_print(env, dbtp, lsnp, notused2, info)
239 	ENV *env;
240 	DBT *dbtp;
241 	DB_LSN *lsnp;
242 	db_recops notused2;
243 	void *info;
244 {
245 	COMPQUIET(notused2, DB_TXN_PRINT);
246 
247 	return (__log_print_record(env, dbtp, lsnp, "__fop_file_remove_60", __fop_file_remove_60_desc, info));
248 }
249 
250 /*
251  * PUBLIC: int __fop_file_remove_print __P((ENV *, DBT *, DB_LSN *,
252  * PUBLIC:     db_recops, void *));
253  */
254 int
__fop_file_remove_print(env,dbtp,lsnp,notused2,info)255 __fop_file_remove_print(env, dbtp, lsnp, notused2, info)
256 	ENV *env;
257 	DBT *dbtp;
258 	DB_LSN *lsnp;
259 	db_recops notused2;
260 	void *info;
261 {
262 	COMPQUIET(notused2, DB_TXN_PRINT);
263 
264 	return (__log_print_record(env, dbtp, lsnp, "__fop_file_remove", __fop_file_remove_desc, info));
265 }
266 
267 /*
268  * PUBLIC: int __fop_init_print __P((ENV *, DB_DISTAB *));
269  */
270 int
__fop_init_print(env,dtabp)271 __fop_init_print(env, dtabp)
272 	ENV *env;
273 	DB_DISTAB *dtabp;
274 {
275 	int ret;
276 
277 	if ((ret = __db_add_recovery_int(env, dtabp,
278 	    __fop_create_print, DB___fop_create)) != 0)
279 		return (ret);
280 	if ((ret = __db_add_recovery_int(env, dtabp,
281 	    __fop_remove_print, DB___fop_remove)) != 0)
282 		return (ret);
283 	if ((ret = __db_add_recovery_int(env, dtabp,
284 	    __fop_write_print, DB___fop_write)) != 0)
285 		return (ret);
286 	if ((ret = __db_add_recovery_int(env, dtabp,
287 	    __fop_write_file_print, DB___fop_write_file)) != 0)
288 		return (ret);
289 	if ((ret = __db_add_recovery_int(env, dtabp,
290 	    __fop_rename_print, DB___fop_rename)) != 0)
291 		return (ret);
292 	if ((ret = __db_add_recovery_int(env, dtabp,
293 	    __fop_rename_print, DB___fop_rename_noundo)) != 0)
294 		return (ret);
295 	if ((ret = __db_add_recovery_int(env, dtabp,
296 	    __fop_file_remove_print, DB___fop_file_remove)) != 0)
297 		return (ret);
298 	return (0);
299 }
300