1 /* DO NOT EDIT: automatically built by dist/distrib. */
4 int __ham_open
__P((DB
*, DB_INFO
*));
5 int __ham_close
__P((DB
*));
6 int __ham_c_iclose
__P((DB
*, DBC
*));
7 int __ham_expand_table
__P((HTAB
*));
8 u_int32_t __ham_call_hash
__P((HTAB
*, u_int8_t
*, int32_t));
9 int __ham_init_dbt
__P((DBT
*, u_int32_t
, void **, u_int32_t
*));
11 __P((HASH_CURSOR
*, db_pgno_t
, u_int32_t
, int, int));
12 int __ham_hdup
__P((DB
*, DB
*));
14 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
15 u_int32_t
, u_int32_t
, db_pgno_t
, u_int32_t
,
16 DB_LSN
*, const DBT
*, const DBT
*));
17 int __ham_insdel_print
18 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
19 int __ham_insdel_read
__P((void *, __ham_insdel_args
**));
21 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
22 u_int32_t
, u_int32_t
, db_pgno_t
, DB_LSN
*,
23 db_pgno_t
, DB_LSN
*, db_pgno_t
, DB_LSN
*));
24 int __ham_newpage_print
25 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
26 int __ham_newpage_read
__P((void *, __ham_newpage_args
**));
27 int __ham_splitmeta_log
28 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
29 u_int32_t
, u_int32_t
, u_int32_t
, u_int32_t
,
31 int __ham_splitmeta_print
32 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
33 int __ham_splitmeta_read
__P((void *, __ham_splitmeta_args
**));
34 int __ham_splitdata_log
35 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
36 u_int32_t
, u_int32_t
, db_pgno_t
, const DBT
*,
38 int __ham_splitdata_print
39 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
40 int __ham_splitdata_read
__P((void *, __ham_splitdata_args
**));
42 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
43 u_int32_t
, db_pgno_t
, u_int32_t
, DB_LSN
*,
44 int32_t, const DBT
*, const DBT
*, u_int32_t
));
45 int __ham_replace_print
46 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
47 int __ham_replace_read
__P((void *, __ham_replace_args
**));
49 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
50 u_int32_t
, u_int32_t
, db_pgno_t
, db_pgno_t
,
51 u_int32_t
, db_pgno_t
, u_int32_t
, DB_LSN
*,
53 int __ham_newpgno_print
54 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
55 int __ham_newpgno_read
__P((void *, __ham_newpgno_args
**));
57 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
58 u_int32_t
, db_pgno_t
, u_int32_t
, db_pgno_t
,
59 u_int32_t
, DB_LSN
*));
61 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
62 int __ham_ovfl_read
__P((void *, __ham_ovfl_args
**));
63 int __ham_copypage_log
64 __P((DB_LOG
*, DB_TXN
*, DB_LSN
*, u_int32_t
,
65 u_int32_t
, db_pgno_t
, DB_LSN
*, db_pgno_t
,
66 DB_LSN
*, db_pgno_t
, DB_LSN
*, const DBT
*));
67 int __ham_copypage_print
68 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
69 int __ham_copypage_read
__P((void *, __ham_copypage_args
**));
70 int __ham_init_print
__P((DB_ENV
*));
71 int __ham_init_recover
__P((DB_ENV
*));
72 int __ham_pgin
__P((db_pgno_t
, void *, DBT
*));
73 int __ham_pgout
__P((db_pgno_t
, void *, DBT
*));
74 int __ham_mswap
__P((void *));
76 void __ham_dump_bucket
__P((HTAB
*, u_int32_t
));
78 int __ham_add_dup
__P((HTAB
*, HASH_CURSOR
*, DBT
*, u_int32_t
));
79 void __ham_move_offpage
__P((HTAB
*, PAGE
*, u_int32_t
, db_pgno_t
));
80 u_int32_t __ham_func2
__P((const void *, u_int32_t
));
81 u_int32_t __ham_func3
__P((const void *, u_int32_t
));
82 u_int32_t __ham_func4
__P((const void *, u_int32_t
));
83 u_int32_t __ham_func5
__P((const void *, u_int32_t
));
84 int __ham_item
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
85 int __ham_item_reset
__P((HTAB
*, HASH_CURSOR
*));
86 void __ham_item_init
__P((HASH_CURSOR
*));
87 int __ham_item_done
__P((HTAB
*, HASH_CURSOR
*, int));
88 int __ham_item_last
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
89 int __ham_item_first
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
90 int __ham_item_prev
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
91 int __ham_item_next
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
92 void __ham_putitem
__P((PAGE
*p
, const DBT
*, int));
94 __P((PAGE
*p
, u_int32_t
, u_int32_t
, const DBT
*, const DBT
*));
95 int __ham_del_pair
__P((HTAB
*, HASH_CURSOR
*, int));
96 int __ham_replpair
__P((HTAB
*, HASH_CURSOR
*, DBT
*, u_int32_t
));
97 void __ham_onpage_replace
__P((PAGE
*, size_t, u_int32_t
, int32_t,
99 int __ham_split_page
__P((HTAB
*, u_int32_t
, u_int32_t
));
101 __P((HTAB
*, HASH_CURSOR
*, const DBT
*, const DBT
*, int));
102 void __ham_copy_item
__P((HTAB
*, PAGE
*, u_int32_t
, PAGE
*));
103 int __ham_add_ovflpage
__P((HTAB
*, PAGE
*, int, PAGE
**));
104 int __ham_new_page
__P((HTAB
*, u_int32_t
, u_int32_t
, PAGE
**));
105 int __ham_del_page
__P((DB
*, PAGE
*));
106 int __ham_put_page
__P((DB
*, PAGE
*, int32_t));
107 int __ham_dirty_page
__P((HTAB
*, PAGE
*));
108 int __ham_get_page
__P((DB
*, db_pgno_t
, PAGE
**));
109 int __ham_overflow_page
__P((DB
*, u_int32_t
, PAGE
**));
111 db_pgno_t __bucket_to_page
__P((HTAB
*, db_pgno_t
));
113 void __ham_init_ovflpages
__P((HTAB
*));
114 int __ham_get_cpage
__P((HTAB
*, HASH_CURSOR
*, db_lockmode_t
));
116 __P((HTAB
*, HASH_CURSOR
*, db_pgno_t
, int, u_int32_t
));
117 void __ham_dpair
__P((DB
*, PAGE
*, u_int32_t
));
118 int __ham_insdel_recover
119 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
120 int __ham_newpage_recover
121 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
122 int __ham_replace_recover
123 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
124 int __ham_newpgno_recover
125 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
126 int __ham_splitmeta_recover
127 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
128 int __ham_splitdata_recover
129 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
130 int __ham_ovfl_recover
131 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
132 int __ham_copypage_recover
133 __P((DB_LOG
*, DBT
*, DB_LSN
*, int, void *));
134 int __ham_stat
__P((DB
*, FILE *));
135 #endif /* _hash_ext_h_ */