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