]>
Commit | Line | Data |
---|---|---|
cc3fa755 | 1 | /* DO NOT EDIT: automatically built by dist/distrib. */ |
af69217f UD |
2 | #ifndef _hash_ext_h_ |
3 | #define _hash_ext_h_ | |
92f1da4d UD |
4 | int __ham_open __P((DB *, DB_INFO *)); |
5 | int __ham_close __P((DB *)); | |
a5a0310d | 6 | int __ham_c_iclose __P((DB *, DBC *)); |
92f1da4d UD |
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 *)); | |
af69217f UD |
10 | void __ham_c_update |
11 | __P((HASH_CURSOR *, db_pgno_t, u_int32_t, int, int)); | |
92f1da4d UD |
12 | int __ham_hdup __P((DB *, DB *)); |
13 | int __ham_insdel_log | |
14 | __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, | |
15 | u_int32_t, u_int32_t, db_pgno_t, u_int32_t, | |
af69217f | 16 | DB_LSN *, const DBT *, const DBT *)); |
92f1da4d UD |
17 | int __ham_insdel_print |
18 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
19 | int __ham_insdel_read __P((void *, __ham_insdel_args **)); | |
20 | int __ham_newpage_log | |
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, | |
30 | DB_LSN *)); | |
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, | |
af69217f | 36 | u_int32_t, u_int32_t, db_pgno_t, const DBT *, |
92f1da4d UD |
37 | DB_LSN *)); |
38 | int __ham_splitdata_print | |
39 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
40 | int __ham_splitdata_read __P((void *, __ham_splitdata_args **)); | |
41 | int __ham_replace_log | |
42 | __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, | |
43 | u_int32_t, db_pgno_t, u_int32_t, DB_LSN *, | |
af69217f | 44 | int32_t, const DBT *, const DBT *, u_int32_t)); |
92f1da4d UD |
45 | int __ham_replace_print |
46 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
47 | int __ham_replace_read __P((void *, __ham_replace_args **)); | |
48 | int __ham_newpgno_log | |
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 *, | |
52 | 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 **)); | |
56 | int __ham_ovfl_log | |
57 | __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, | |
58 | u_int32_t, db_pgno_t, u_int32_t, db_pgno_t, | |
cc3fa755 | 59 | u_int32_t, DB_LSN *)); |
92f1da4d UD |
60 | int __ham_ovfl_print |
61 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
62 | int __ham_ovfl_read __P((void *, __ham_ovfl_args **)); | |
cc3fa755 UD |
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, | |
af69217f | 66 | DB_LSN *, db_pgno_t, DB_LSN *, const DBT *)); |
cc3fa755 UD |
67 | int __ham_copypage_print |
68 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
69 | int __ham_copypage_read __P((void *, __ham_copypage_args **)); | |
92f1da4d UD |
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 *)); | |
75 | #ifdef DEBUG | |
76 | void __ham_dump_bucket __P((HTAB *, u_int32_t)); | |
77 | #endif | |
78 | int __ham_add_dup __P((HTAB *, HASH_CURSOR *, DBT *, int)); | |
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)); | |
cc3fa755 | 93 | int __ham_del_pair __P((HTAB *, HASH_CURSOR *, int)); |
92f1da4d UD |
94 | int __ham_replpair __P((HTAB *, HASH_CURSOR *, DBT *, u_int32_t)); |
95 | void __ham_onpage_replace __P((PAGE *, size_t, u_int32_t, int32_t, | |
96 | int32_t, DBT *)); | |
97 | int __ham_split_page __P((HTAB *, u_int32_t, u_int32_t)); | |
98 | int __ham_add_el __P((HTAB *, HASH_CURSOR *, const DBT *, const DBT *, | |
99 | int)); | |
100 | void __ham_copy_item __P((HTAB *, PAGE *, int, PAGE *)); | |
101 | int __ham_add_ovflpage __P((HTAB *, PAGE *, int, PAGE **)); | |
102 | int __ham_new_page __P((HTAB *, u_int32_t, u_int32_t, PAGE **)); | |
103 | int __ham_del_page __P((DB *, PAGE *)); | |
104 | int __ham_put_page __P((DB *, PAGE *, int32_t)); | |
105 | int __ham_dirty_page __P((HTAB *, PAGE *)); | |
106 | int __ham_get_page __P((DB *, db_pgno_t, PAGE **)); | |
107 | int __ham_overflow_page __P((DB *, u_int32_t, PAGE **)); | |
108 | #ifdef DEBUG | |
a5a0310d | 109 | int __bucket_to_page __P((HTAB *, int)); |
92f1da4d UD |
110 | #endif |
111 | void __ham_init_ovflpages __P((HTAB *)); | |
112 | int __ham_get_cpage __P((HTAB *, HASH_CURSOR *, db_lockmode_t)); | |
113 | int __ham_next_cpage __P((HTAB *, HASH_CURSOR *, db_pgno_t, | |
114 | int, int)); | |
115 | void __ham_dpair __P((DB *, PAGE *, u_int32_t)); | |
116 | int __ham_insdel_recover | |
117 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
118 | int __ham_newpage_recover | |
119 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
120 | int __ham_replace_recover | |
121 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
122 | int __ham_newpgno_recover | |
123 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
124 | int __ham_splitmeta_recover | |
125 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
126 | int __ham_splitdata_recover | |
127 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
128 | int __ham_ovfl_recover | |
129 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
cc3fa755 UD |
130 | int __ham_copypage_recover |
131 | __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); | |
92f1da4d | 132 | int __ham_stat __P((DB *, FILE *)); |
af69217f | 133 | #endif /* _hash_ext_h_ */ |