1 /* Do not edit: automatically built by gen_rec.awk. */
2 
3 #ifndef qam_AUTO_H
4 #define qam_AUTO_H
5 
6 #define	DB_qam_inc	(DB_qam_BEGIN + 1)
7 
8 typedef struct _qam_inc_args {
9 	u_int32_t type;
10 	DB_TXN *txnid;
11 	DB_LSN prev_lsn;
12 	int32_t	fileid;
13 	DB_LSN 	lsn;
14 } __qam_inc_args;
15 
16 int CDB___qam_inc_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *));
17 int CDB___qam_inc_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
18 int CDB___qam_inc_read __P((void *, __qam_inc_args **));
19 
20 #define	DB_qam_incfirst	(DB_qam_BEGIN + 2)
21 
22 typedef struct _qam_incfirst_args {
23 	u_int32_t type;
24 	DB_TXN *txnid;
25 	DB_LSN prev_lsn;
26 	int32_t	fileid;
27 	db_recno_t	recno;
28 } __qam_incfirst_args;
29 
30 int CDB___qam_incfirst_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_recno_t));
31 int CDB___qam_incfirst_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
32 int CDB___qam_incfirst_read __P((void *, __qam_incfirst_args **));
33 
34 #define	DB_qam_mvptr	(DB_qam_BEGIN + 3)
35 
36 typedef struct _qam_mvptr_args {
37 	u_int32_t type;
38 	DB_TXN *txnid;
39 	DB_LSN prev_lsn;
40 	u_int32_t	opcode;
41 	int32_t	fileid;
42 	db_recno_t	old_first;
43 	db_recno_t	new_first;
44 	db_recno_t	old_cur;
45 	db_recno_t	new_cur;
46 	DB_LSN 	metalsn;
47 } __qam_mvptr_args;
48 
49 int CDB___qam_mvptr_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, int32_t, db_recno_t, db_recno_t, db_recno_t, db_recno_t, DB_LSN *));
50 int CDB___qam_mvptr_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
51 int CDB___qam_mvptr_read __P((void *, __qam_mvptr_args **));
52 
53 #define	DB_qam_del	(DB_qam_BEGIN + 4)
54 
55 typedef struct _qam_del_args {
56 	u_int32_t type;
57 	DB_TXN *txnid;
58 	DB_LSN prev_lsn;
59 	int32_t	fileid;
60 	DB_LSN 	lsn;
61 	db_pgno_t	pgno;
62 	u_int32_t	indx;
63 	db_recno_t	recno;
64 } __qam_del_args;
65 
66 int CDB___qam_del_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t));
67 int CDB___qam_del_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
68 int CDB___qam_del_read __P((void *, __qam_del_args **));
69 
70 #define	DB_qam_add	(DB_qam_BEGIN + 5)
71 
72 typedef struct _qam_add_args {
73 	u_int32_t type;
74 	DB_TXN *txnid;
75 	DB_LSN prev_lsn;
76 	int32_t	fileid;
77 	DB_LSN 	lsn;
78 	db_pgno_t	pgno;
79 	u_int32_t	indx;
80 	db_recno_t	recno;
81 	DBT	data;
82 	u_int32_t	vflag;
83 	DBT	olddata;
84 } __qam_add_args;
85 
86 int CDB___qam_add_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, DB_LSN *, db_pgno_t, u_int32_t, db_recno_t, const DBT *, u_int32_t, const DBT *));
87 int CDB___qam_add_print __P((DB_ENV *, DBT *, DB_LSN *, int, void *));
88 int CDB___qam_add_read __P((void *, __qam_add_args **));
89 int CDB___qam_init_print __P((DB_ENV *));
90 #endif
91