8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sendmail / db / include / hash_auto.h
blob6adad41e6dabe832ddb415a721e7734c59a2e953
1 /* Do not edit: automatically built by dist/db_gen.sh. */
3 /*
4 * Copyright (c) 1998 by Sun Microsystems, Inc.
5 * All rights reserved.
6 */
8 #pragma ident "%Z%%M% %I% %E% SMI"
10 #ifndef ham_AUTO_H
11 #define ham_AUTO_H
13 #define DB_ham_insdel (DB_ham_BEGIN + 1)
15 typedef struct _ham_insdel_args {
16 u_int32_t type;
17 DB_TXN *txnid;
18 DB_LSN prev_lsn;
19 u_int32_t opcode;
20 u_int32_t fileid;
21 db_pgno_t pgno;
22 u_int32_t ndx;
23 DB_LSN pagelsn;
24 DBT key;
25 DBT data;
26 } __ham_insdel_args;
29 #define DB_ham_newpage (DB_ham_BEGIN + 2)
31 typedef struct _ham_newpage_args {
32 u_int32_t type;
33 DB_TXN *txnid;
34 DB_LSN prev_lsn;
35 u_int32_t opcode;
36 u_int32_t fileid;
37 db_pgno_t prev_pgno;
38 DB_LSN prevlsn;
39 db_pgno_t new_pgno;
40 DB_LSN pagelsn;
41 db_pgno_t next_pgno;
42 DB_LSN nextlsn;
43 } __ham_newpage_args;
46 #define DB_ham_splitmeta (DB_ham_BEGIN + 3)
48 typedef struct _ham_splitmeta_args {
49 u_int32_t type;
50 DB_TXN *txnid;
51 DB_LSN prev_lsn;
52 u_int32_t fileid;
53 u_int32_t bucket;
54 u_int32_t ovflpoint;
55 u_int32_t spares;
56 DB_LSN metalsn;
57 } __ham_splitmeta_args;
60 #define DB_ham_splitdata (DB_ham_BEGIN + 4)
62 typedef struct _ham_splitdata_args {
63 u_int32_t type;
64 DB_TXN *txnid;
65 DB_LSN prev_lsn;
66 u_int32_t fileid;
67 u_int32_t opcode;
68 db_pgno_t pgno;
69 DBT pageimage;
70 DB_LSN pagelsn;
71 } __ham_splitdata_args;
74 #define DB_ham_replace (DB_ham_BEGIN + 5)
76 typedef struct _ham_replace_args {
77 u_int32_t type;
78 DB_TXN *txnid;
79 DB_LSN prev_lsn;
80 u_int32_t fileid;
81 db_pgno_t pgno;
82 u_int32_t ndx;
83 DB_LSN pagelsn;
84 int32_t off;
85 DBT olditem;
86 DBT newitem;
87 u_int32_t makedup;
88 } __ham_replace_args;
91 #define DB_ham_newpgno (DB_ham_BEGIN + 6)
93 typedef struct _ham_newpgno_args {
94 u_int32_t type;
95 DB_TXN *txnid;
96 DB_LSN prev_lsn;
97 u_int32_t opcode;
98 u_int32_t fileid;
99 db_pgno_t pgno;
100 db_pgno_t free_pgno;
101 u_int32_t old_type;
102 db_pgno_t old_pgno;
103 u_int32_t new_type;
104 DB_LSN pagelsn;
105 DB_LSN metalsn;
106 } __ham_newpgno_args;
109 #define DB_ham_ovfl (DB_ham_BEGIN + 7)
111 typedef struct _ham_ovfl_args {
112 u_int32_t type;
113 DB_TXN *txnid;
114 DB_LSN prev_lsn;
115 u_int32_t fileid;
116 db_pgno_t start_pgno;
117 u_int32_t npages;
118 db_pgno_t free_pgno;
119 u_int32_t ovflpoint;
120 DB_LSN metalsn;
121 } __ham_ovfl_args;
124 #define DB_ham_copypage (DB_ham_BEGIN + 8)
126 typedef struct _ham_copypage_args {
127 u_int32_t type;
128 DB_TXN *txnid;
129 DB_LSN prev_lsn;
130 u_int32_t fileid;
131 db_pgno_t pgno;
132 DB_LSN pagelsn;
133 db_pgno_t next_pgno;
134 DB_LSN nextlsn;
135 db_pgno_t nnext_pgno;
136 DB_LSN nnextlsn;
137 DBT page;
138 } __ham_copypage_args;
140 #endif