1 /* Do not edit: automatically built by dist/db_gen.sh. */
2 
3 /*
4  * Copyright (c) 1998 by Sun Microsystems, Inc.
5  * All rights reserved.
6  */
7 
8 #ifndef ham_AUTO_H
9 #define ham_AUTO_H
10 
11 #define	DB_ham_insdel	(DB_ham_BEGIN + 1)
12 
13 typedef struct _ham_insdel_args {
14 	u_int32_t type;
15 	DB_TXN *txnid;
16 	DB_LSN prev_lsn;
17 	u_int32_t	opcode;
18 	u_int32_t	fileid;
19 	db_pgno_t	pgno;
20 	u_int32_t	ndx;
21 	DB_LSN 	pagelsn;
22 	DBT	key;
23 	DBT	data;
24 } __ham_insdel_args;
25 
26 
27 #define	DB_ham_newpage	(DB_ham_BEGIN + 2)
28 
29 typedef struct _ham_newpage_args {
30 	u_int32_t type;
31 	DB_TXN *txnid;
32 	DB_LSN prev_lsn;
33 	u_int32_t	opcode;
34 	u_int32_t	fileid;
35 	db_pgno_t	prev_pgno;
36 	DB_LSN 	prevlsn;
37 	db_pgno_t	new_pgno;
38 	DB_LSN 	pagelsn;
39 	db_pgno_t	next_pgno;
40 	DB_LSN 	nextlsn;
41 } __ham_newpage_args;
42 
43 
44 #define	DB_ham_splitmeta	(DB_ham_BEGIN + 3)
45 
46 typedef struct _ham_splitmeta_args {
47 	u_int32_t type;
48 	DB_TXN *txnid;
49 	DB_LSN prev_lsn;
50 	u_int32_t	fileid;
51 	u_int32_t	bucket;
52 	u_int32_t	ovflpoint;
53 	u_int32_t	spares;
54 	DB_LSN 	metalsn;
55 } __ham_splitmeta_args;
56 
57 
58 #define	DB_ham_splitdata	(DB_ham_BEGIN + 4)
59 
60 typedef struct _ham_splitdata_args {
61 	u_int32_t type;
62 	DB_TXN *txnid;
63 	DB_LSN prev_lsn;
64 	u_int32_t	fileid;
65 	u_int32_t	opcode;
66 	db_pgno_t	pgno;
67 	DBT	pageimage;
68 	DB_LSN 	pagelsn;
69 } __ham_splitdata_args;
70 
71 
72 #define	DB_ham_replace	(DB_ham_BEGIN + 5)
73 
74 typedef struct _ham_replace_args {
75 	u_int32_t type;
76 	DB_TXN *txnid;
77 	DB_LSN prev_lsn;
78 	u_int32_t	fileid;
79 	db_pgno_t	pgno;
80 	u_int32_t	ndx;
81 	DB_LSN 	pagelsn;
82 	int32_t	off;
83 	DBT	olditem;
84 	DBT	newitem;
85 	u_int32_t	makedup;
86 } __ham_replace_args;
87 
88 
89 #define	DB_ham_newpgno	(DB_ham_BEGIN + 6)
90 
91 typedef struct _ham_newpgno_args {
92 	u_int32_t type;
93 	DB_TXN *txnid;
94 	DB_LSN prev_lsn;
95 	u_int32_t	opcode;
96 	u_int32_t	fileid;
97 	db_pgno_t	pgno;
98 	db_pgno_t	free_pgno;
99 	u_int32_t	old_type;
100 	db_pgno_t	old_pgno;
101 	u_int32_t	new_type;
102 	DB_LSN 	pagelsn;
103 	DB_LSN 	metalsn;
104 } __ham_newpgno_args;
105 
106 
107 #define	DB_ham_ovfl	(DB_ham_BEGIN + 7)
108 
109 typedef struct _ham_ovfl_args {
110 	u_int32_t type;
111 	DB_TXN *txnid;
112 	DB_LSN prev_lsn;
113 	u_int32_t	fileid;
114 	db_pgno_t	start_pgno;
115 	u_int32_t	npages;
116 	db_pgno_t	free_pgno;
117 	u_int32_t	ovflpoint;
118 	DB_LSN 	metalsn;
119 } __ham_ovfl_args;
120 
121 
122 #define	DB_ham_copypage	(DB_ham_BEGIN + 8)
123 
124 typedef struct _ham_copypage_args {
125 	u_int32_t type;
126 	DB_TXN *txnid;
127 	DB_LSN prev_lsn;
128 	u_int32_t	fileid;
129 	db_pgno_t	pgno;
130 	DB_LSN 	pagelsn;
131 	db_pgno_t	next_pgno;
132 	DB_LSN 	nextlsn;
133 	db_pgno_t	nnext_pgno;
134 	DB_LSN 	nnextlsn;
135 	DBT	page;
136 } __ham_copypage_args;
137 
138 #endif
139