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_dispatch.h"
9 #include "dbinc/db_am.h"
10 #include "dbinc/txn.h"
11
12 /*
13 * PUBLIC: int __db_addrem_print __P((ENV *, DBT *, DB_LSN *,
14 * PUBLIC: db_recops, void *));
15 */
16 int
__db_addrem_print(env,dbtp,lsnp,notused2,info)17 __db_addrem_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, "__db_addrem", __db_addrem_desc, info));
27 }
28
29 /*
30 * PUBLIC: int __db_addrem_42_print __P((ENV *, DBT *, DB_LSN *,
31 * PUBLIC: db_recops, void *));
32 */
33 int
__db_addrem_42_print(env,dbtp,lsnp,notused2,info)34 __db_addrem_42_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, "__db_addrem_42", __db_addrem_42_desc, info));
44 }
45
46 /*
47 * PUBLIC: int __db_big_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
48 */
49 int
__db_big_print(env,dbtp,lsnp,notused2,info)50 __db_big_print(env, dbtp, lsnp, notused2, info)
51 ENV *env;
52 DBT *dbtp;
53 DB_LSN *lsnp;
54 db_recops notused2;
55 void *info;
56 {
57 COMPQUIET(notused2, DB_TXN_PRINT);
58
59 return (__log_print_record(env, dbtp, lsnp, "__db_big", __db_big_desc, info));
60 }
61
62 /*
63 * PUBLIC: int __db_big_42_print __P((ENV *, DBT *, DB_LSN *,
64 * PUBLIC: db_recops, void *));
65 */
66 int
__db_big_42_print(env,dbtp,lsnp,notused2,info)67 __db_big_42_print(env, dbtp, lsnp, notused2, info)
68 ENV *env;
69 DBT *dbtp;
70 DB_LSN *lsnp;
71 db_recops notused2;
72 void *info;
73 {
74 COMPQUIET(notused2, DB_TXN_PRINT);
75
76 return (__log_print_record(env, dbtp, lsnp, "__db_big_42", __db_big_42_desc, info));
77 }
78
79 /*
80 * PUBLIC: int __db_ovref_print __P((ENV *, DBT *, DB_LSN *,
81 * PUBLIC: db_recops, void *));
82 */
83 int
__db_ovref_print(env,dbtp,lsnp,notused2,info)84 __db_ovref_print(env, dbtp, lsnp, notused2, info)
85 ENV *env;
86 DBT *dbtp;
87 DB_LSN *lsnp;
88 db_recops notused2;
89 void *info;
90 {
91 COMPQUIET(notused2, DB_TXN_PRINT);
92
93 return (__log_print_record(env, dbtp, lsnp, "__db_ovref", __db_ovref_desc, info));
94 }
95
96 /*
97 * PUBLIC: int __db_relink_42_print __P((ENV *, DBT *, DB_LSN *,
98 * PUBLIC: db_recops, void *));
99 */
100 int
__db_relink_42_print(env,dbtp,lsnp,notused2,info)101 __db_relink_42_print(env, dbtp, lsnp, notused2, info)
102 ENV *env;
103 DBT *dbtp;
104 DB_LSN *lsnp;
105 db_recops notused2;
106 void *info;
107 {
108 COMPQUIET(notused2, DB_TXN_PRINT);
109
110 return (__log_print_record(env, dbtp, lsnp, "__db_relink_42", __db_relink_42_desc, info));
111 }
112
113 /*
114 * PUBLIC: int __db_debug_print __P((ENV *, DBT *, DB_LSN *,
115 * PUBLIC: db_recops, void *));
116 */
117 int
__db_debug_print(env,dbtp,lsnp,notused2,info)118 __db_debug_print(env, dbtp, lsnp, notused2, info)
119 ENV *env;
120 DBT *dbtp;
121 DB_LSN *lsnp;
122 db_recops notused2;
123 void *info;
124 {
125 COMPQUIET(notused2, DB_TXN_PRINT);
126
127 return (__log_print_record(env, dbtp, lsnp, "__db_debug", __db_debug_desc, info));
128 }
129
130 /*
131 * PUBLIC: int __db_noop_print __P((ENV *, DBT *, DB_LSN *,
132 * PUBLIC: db_recops, void *));
133 */
134 int
__db_noop_print(env,dbtp,lsnp,notused2,info)135 __db_noop_print(env, dbtp, lsnp, notused2, info)
136 ENV *env;
137 DBT *dbtp;
138 DB_LSN *lsnp;
139 db_recops notused2;
140 void *info;
141 {
142 COMPQUIET(notused2, DB_TXN_PRINT);
143
144 return (__log_print_record(env, dbtp, lsnp, "__db_noop", __db_noop_desc, info));
145 }
146
147 /*
148 * PUBLIC: int __db_pg_alloc_42_print __P((ENV *, DBT *, DB_LSN *,
149 * PUBLIC: db_recops, void *));
150 */
151 int
__db_pg_alloc_42_print(env,dbtp,lsnp,notused2,info)152 __db_pg_alloc_42_print(env, dbtp, lsnp, notused2, info)
153 ENV *env;
154 DBT *dbtp;
155 DB_LSN *lsnp;
156 db_recops notused2;
157 void *info;
158 {
159 COMPQUIET(notused2, DB_TXN_PRINT);
160
161 return (__log_print_record(env, dbtp, lsnp, "__db_pg_alloc_42", __db_pg_alloc_42_desc, info));
162 }
163
164 /*
165 * PUBLIC: int __db_pg_alloc_print __P((ENV *, DBT *, DB_LSN *,
166 * PUBLIC: db_recops, void *));
167 */
168 int
__db_pg_alloc_print(env,dbtp,lsnp,notused2,info)169 __db_pg_alloc_print(env, dbtp, lsnp, notused2, info)
170 ENV *env;
171 DBT *dbtp;
172 DB_LSN *lsnp;
173 db_recops notused2;
174 void *info;
175 {
176 COMPQUIET(notused2, DB_TXN_PRINT);
177
178 return (__log_print_record(env, dbtp, lsnp, "__db_pg_alloc", __db_pg_alloc_desc, info));
179 }
180
181 /*
182 * PUBLIC: int __db_pg_free_42_print __P((ENV *, DBT *, DB_LSN *,
183 * PUBLIC: db_recops, void *));
184 */
185 int
__db_pg_free_42_print(env,dbtp,lsnp,notused2,info)186 __db_pg_free_42_print(env, dbtp, lsnp, notused2, info)
187 ENV *env;
188 DBT *dbtp;
189 DB_LSN *lsnp;
190 db_recops notused2;
191 void *info;
192 {
193 COMPQUIET(notused2, DB_TXN_PRINT);
194
195 return (__log_print_record(env, dbtp, lsnp, "__db_pg_free_42", __db_pg_free_42_desc, info));
196 }
197
198 /*
199 * PUBLIC: int __db_pg_free_print __P((ENV *, DBT *, DB_LSN *,
200 * PUBLIC: db_recops, void *));
201 */
202 int
__db_pg_free_print(env,dbtp,lsnp,notused2,info)203 __db_pg_free_print(env, dbtp, lsnp, notused2, info)
204 ENV *env;
205 DBT *dbtp;
206 DB_LSN *lsnp;
207 db_recops notused2;
208 void *info;
209 {
210 COMPQUIET(notused2, DB_TXN_PRINT);
211
212 return (__log_print_record(env, dbtp, lsnp, "__db_pg_free", __db_pg_free_desc, info));
213 }
214
215 /*
216 * PUBLIC: int __db_cksum_print __P((ENV *, DBT *, DB_LSN *,
217 * PUBLIC: db_recops, void *));
218 */
219 int
__db_cksum_print(env,dbtp,lsnp,notused2,info)220 __db_cksum_print(env, dbtp, lsnp, notused2, info)
221 ENV *env;
222 DBT *dbtp;
223 DB_LSN *lsnp;
224 db_recops notused2;
225 void *info;
226 {
227 COMPQUIET(notused2, DB_TXN_PRINT);
228
229 return (__log_print_record(env, dbtp, lsnp, "__db_cksum", __db_cksum_desc, info));
230 }
231
232 /*
233 * PUBLIC: int __db_pg_freedata_42_print __P((ENV *, DBT *, DB_LSN *,
234 * PUBLIC: db_recops, void *));
235 */
236 int
__db_pg_freedata_42_print(env,dbtp,lsnp,notused2,info)237 __db_pg_freedata_42_print(env, dbtp, lsnp, notused2, info)
238 ENV *env;
239 DBT *dbtp;
240 DB_LSN *lsnp;
241 db_recops notused2;
242 void *info;
243 {
244 COMPQUIET(notused2, DB_TXN_PRINT);
245
246 return (__log_print_record(env, dbtp, lsnp, "__db_pg_freedata_42", __db_pg_freedata_42_desc, info));
247 }
248
249 /*
250 * PUBLIC: int __db_pg_freedata_print __P((ENV *, DBT *, DB_LSN *,
251 * PUBLIC: db_recops, void *));
252 */
253 int
__db_pg_freedata_print(env,dbtp,lsnp,notused2,info)254 __db_pg_freedata_print(env, dbtp, lsnp, notused2, info)
255 ENV *env;
256 DBT *dbtp;
257 DB_LSN *lsnp;
258 db_recops notused2;
259 void *info;
260 {
261 COMPQUIET(notused2, DB_TXN_PRINT);
262
263 return (__log_print_record(env, dbtp, lsnp, "__db_pg_freedata", __db_pg_freedata_desc, info));
264 }
265
266 /*
267 * PUBLIC: int __db_pg_init_print __P((ENV *, DBT *, DB_LSN *,
268 * PUBLIC: db_recops, void *));
269 */
270 int
__db_pg_init_print(env,dbtp,lsnp,notused2,info)271 __db_pg_init_print(env, dbtp, lsnp, notused2, info)
272 ENV *env;
273 DBT *dbtp;
274 DB_LSN *lsnp;
275 db_recops notused2;
276 void *info;
277 {
278 COMPQUIET(notused2, DB_TXN_PRINT);
279
280 return (__log_print_record(env, dbtp, lsnp, "__db_pg_init", __db_pg_init_desc, info));
281 }
282
283 /*
284 * PUBLIC: int __db_pg_sort_44_print __P((ENV *, DBT *, DB_LSN *,
285 * PUBLIC: db_recops, void *));
286 */
287 int
__db_pg_sort_44_print(env,dbtp,lsnp,notused2,info)288 __db_pg_sort_44_print(env, dbtp, lsnp, notused2, info)
289 ENV *env;
290 DBT *dbtp;
291 DB_LSN *lsnp;
292 db_recops notused2;
293 void *info;
294 {
295 COMPQUIET(notused2, DB_TXN_PRINT);
296
297 return (__log_print_record(env, dbtp, lsnp, "__db_pg_sort_44", __db_pg_sort_44_desc, info));
298 }
299
300 /*
301 * PUBLIC: int __db_pg_trunc_print __P((ENV *, DBT *, DB_LSN *,
302 * PUBLIC: db_recops, void *));
303 */
304 int
__db_pg_trunc_print(env,dbtp,lsnp,notused2,info)305 __db_pg_trunc_print(env, dbtp, lsnp, notused2, info)
306 ENV *env;
307 DBT *dbtp;
308 DB_LSN *lsnp;
309 db_recops notused2;
310 void *info;
311 {
312 COMPQUIET(notused2, DB_TXN_PRINT);
313
314 return (__log_print_record(env, dbtp, lsnp, "__db_pg_trunc", __db_pg_trunc_desc, info));
315 }
316
317 /*
318 * PUBLIC: int __db_realloc_print __P((ENV *, DBT *, DB_LSN *,
319 * PUBLIC: db_recops, void *));
320 */
321 int
__db_realloc_print(env,dbtp,lsnp,notused2,info)322 __db_realloc_print(env, dbtp, lsnp, notused2, info)
323 ENV *env;
324 DBT *dbtp;
325 DB_LSN *lsnp;
326 db_recops notused2;
327 void *info;
328 {
329 COMPQUIET(notused2, DB_TXN_PRINT);
330
331 return (__log_print_record(env, dbtp, lsnp, "__db_realloc", __db_realloc_desc, info));
332 }
333
334 /*
335 * PUBLIC: int __db_relink_print __P((ENV *, DBT *, DB_LSN *,
336 * PUBLIC: db_recops, void *));
337 */
338 int
__db_relink_print(env,dbtp,lsnp,notused2,info)339 __db_relink_print(env, dbtp, lsnp, notused2, info)
340 ENV *env;
341 DBT *dbtp;
342 DB_LSN *lsnp;
343 db_recops notused2;
344 void *info;
345 {
346 COMPQUIET(notused2, DB_TXN_PRINT);
347
348 return (__log_print_record(env, dbtp, lsnp, "__db_relink", __db_relink_desc, info));
349 }
350
351 /*
352 * PUBLIC: int __db_merge_print __P((ENV *, DBT *, DB_LSN *,
353 * PUBLIC: db_recops, void *));
354 */
355 int
__db_merge_print(env,dbtp,lsnp,notused2,info)356 __db_merge_print(env, dbtp, lsnp, notused2, info)
357 ENV *env;
358 DBT *dbtp;
359 DB_LSN *lsnp;
360 db_recops notused2;
361 void *info;
362 {
363 COMPQUIET(notused2, DB_TXN_PRINT);
364
365 return (__log_print_record(env, dbtp, lsnp, "__db_merge", __db_merge_desc, info));
366 }
367
368 /*
369 * PUBLIC: int __db_pgno_print __P((ENV *, DBT *, DB_LSN *,
370 * PUBLIC: db_recops, void *));
371 */
372 int
__db_pgno_print(env,dbtp,lsnp,notused2,info)373 __db_pgno_print(env, dbtp, lsnp, notused2, info)
374 ENV *env;
375 DBT *dbtp;
376 DB_LSN *lsnp;
377 db_recops notused2;
378 void *info;
379 {
380 COMPQUIET(notused2, DB_TXN_PRINT);
381
382 return (__log_print_record(env, dbtp, lsnp, "__db_pgno", __db_pgno_desc, info));
383 }
384
385 /*
386 * PUBLIC: int __db_init_print __P((ENV *, DB_DISTAB *));
387 */
388 int
__db_init_print(env,dtabp)389 __db_init_print(env, dtabp)
390 ENV *env;
391 DB_DISTAB *dtabp;
392 {
393 int ret;
394
395 if ((ret = __db_add_recovery_int(env, dtabp,
396 __db_addrem_print, DB___db_addrem)) != 0)
397 return (ret);
398 if ((ret = __db_add_recovery_int(env, dtabp,
399 __db_big_print, DB___db_big)) != 0)
400 return (ret);
401 if ((ret = __db_add_recovery_int(env, dtabp,
402 __db_ovref_print, DB___db_ovref)) != 0)
403 return (ret);
404 if ((ret = __db_add_recovery_int(env, dtabp,
405 __db_debug_print, DB___db_debug)) != 0)
406 return (ret);
407 if ((ret = __db_add_recovery_int(env, dtabp,
408 __db_noop_print, DB___db_noop)) != 0)
409 return (ret);
410 if ((ret = __db_add_recovery_int(env, dtabp,
411 __db_pg_alloc_print, DB___db_pg_alloc)) != 0)
412 return (ret);
413 if ((ret = __db_add_recovery_int(env, dtabp,
414 __db_pg_free_print, DB___db_pg_free)) != 0)
415 return (ret);
416 if ((ret = __db_add_recovery_int(env, dtabp,
417 __db_cksum_print, DB___db_cksum)) != 0)
418 return (ret);
419 if ((ret = __db_add_recovery_int(env, dtabp,
420 __db_pg_freedata_print, DB___db_pg_freedata)) != 0)
421 return (ret);
422 if ((ret = __db_add_recovery_int(env, dtabp,
423 __db_pg_init_print, DB___db_pg_init)) != 0)
424 return (ret);
425 if ((ret = __db_add_recovery_int(env, dtabp,
426 __db_pg_trunc_print, DB___db_pg_trunc)) != 0)
427 return (ret);
428 if ((ret = __db_add_recovery_int(env, dtabp,
429 __db_realloc_print, DB___db_realloc)) != 0)
430 return (ret);
431 if ((ret = __db_add_recovery_int(env, dtabp,
432 __db_relink_print, DB___db_relink)) != 0)
433 return (ret);
434 if ((ret = __db_add_recovery_int(env, dtabp,
435 __db_merge_print, DB___db_merge)) != 0)
436 return (ret);
437 if ((ret = __db_add_recovery_int(env, dtabp,
438 __db_pgno_print, DB___db_pgno)) != 0)
439 return (ret);
440 return (0);
441 }
442