]> git.ipfire.org Git - thirdparty/glibc.git/blame - db2/include/hash_ext.h
Update.
[thirdparty/glibc.git] / db2 / include / hash_ext.h
CommitLineData
cc3fa755 1/* DO NOT EDIT: automatically built by dist/distrib. */
af69217f
UD
2#ifndef _hash_ext_h_
3#define _hash_ext_h_
92f1da4d
UD
4int __ham_open __P((DB *, DB_INFO *));
5int __ham_close __P((DB *));
a5a0310d 6int __ham_c_iclose __P((DB *, DBC *));
92f1da4d
UD
7int __ham_expand_table __P((HTAB *));
8u_int32_t __ham_call_hash __P((HTAB *, u_int8_t *, int32_t));
9int __ham_init_dbt __P((DBT *, u_int32_t, void **, u_int32_t *));
af69217f
UD
10void __ham_c_update
11 __P((HASH_CURSOR *, db_pgno_t, u_int32_t, int, int));
92f1da4d
UD
12int __ham_hdup __P((DB *, DB *));
13int __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
17int __ham_insdel_print
18 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
19int __ham_insdel_read __P((void *, __ham_insdel_args **));
20int __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 *));
24int __ham_newpage_print
25 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
26int __ham_newpage_read __P((void *, __ham_newpage_args **));
27int __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 *));
31int __ham_splitmeta_print
32 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
33int __ham_splitmeta_read __P((void *, __ham_splitmeta_args **));
34int __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 *));
38int __ham_splitdata_print
39 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
40int __ham_splitdata_read __P((void *, __ham_splitdata_args **));
41int __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
45int __ham_replace_print
46 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
47int __ham_replace_read __P((void *, __ham_replace_args **));
48int __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 *));
53int __ham_newpgno_print
54 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
55int __ham_newpgno_read __P((void *, __ham_newpgno_args **));
56int __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
60int __ham_ovfl_print
61 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
62int __ham_ovfl_read __P((void *, __ham_ovfl_args **));
cc3fa755
UD
63int __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
67int __ham_copypage_print
68 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
69int __ham_copypage_read __P((void *, __ham_copypage_args **));
92f1da4d
UD
70int __ham_init_print __P((DB_ENV *));
71int __ham_init_recover __P((DB_ENV *));
72int __ham_pgin __P((db_pgno_t, void *, DBT *));
73int __ham_pgout __P((db_pgno_t, void *, DBT *));
74int __ham_mswap __P((void *));
75#ifdef DEBUG
76void __ham_dump_bucket __P((HTAB *, u_int32_t));
77#endif
78int __ham_add_dup __P((HTAB *, HASH_CURSOR *, DBT *, int));
79void __ham_move_offpage __P((HTAB *, PAGE *, u_int32_t, db_pgno_t));
80u_int32_t __ham_func2 __P((const void *, u_int32_t));
81u_int32_t __ham_func3 __P((const void *, u_int32_t));
82u_int32_t __ham_func4 __P((const void *, u_int32_t));
83u_int32_t __ham_func5 __P((const void *, u_int32_t));
84int __ham_item __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
85int __ham_item_reset __P((HTAB *, HASH_CURSOR *));
86void __ham_item_init __P((HASH_CURSOR *));
87int __ham_item_done __P((HTAB *, HASH_CURSOR *, int));
88int __ham_item_last __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
89int __ham_item_first __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
90int __ham_item_prev __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
91int __ham_item_next __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
92void __ham_putitem __P((PAGE *p, const DBT *, int));
cc3fa755 93int __ham_del_pair __P((HTAB *, HASH_CURSOR *, int));
92f1da4d
UD
94int __ham_replpair __P((HTAB *, HASH_CURSOR *, DBT *, u_int32_t));
95void __ham_onpage_replace __P((PAGE *, size_t, u_int32_t, int32_t,
96 int32_t, DBT *));
97int __ham_split_page __P((HTAB *, u_int32_t, u_int32_t));
98int __ham_add_el __P((HTAB *, HASH_CURSOR *, const DBT *, const DBT *,
99 int));
100void __ham_copy_item __P((HTAB *, PAGE *, int, PAGE *));
101int __ham_add_ovflpage __P((HTAB *, PAGE *, int, PAGE **));
102int __ham_new_page __P((HTAB *, u_int32_t, u_int32_t, PAGE **));
103int __ham_del_page __P((DB *, PAGE *));
104int __ham_put_page __P((DB *, PAGE *, int32_t));
105int __ham_dirty_page __P((HTAB *, PAGE *));
106int __ham_get_page __P((DB *, db_pgno_t, PAGE **));
107int __ham_overflow_page __P((DB *, u_int32_t, PAGE **));
108#ifdef DEBUG
a5a0310d 109int __bucket_to_page __P((HTAB *, int));
92f1da4d
UD
110#endif
111void __ham_init_ovflpages __P((HTAB *));
112int __ham_get_cpage __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
113int __ham_next_cpage __P((HTAB *, HASH_CURSOR *, db_pgno_t,
114 int, int));
115void __ham_dpair __P((DB *, PAGE *, u_int32_t));
116int __ham_insdel_recover
117 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
118int __ham_newpage_recover
119 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
120int __ham_replace_recover
121 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
122int __ham_newpgno_recover
123 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
124int __ham_splitmeta_recover
125 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
126int __ham_splitdata_recover
127 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
128int __ham_ovfl_recover
129 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
cc3fa755
UD
130int __ham_copypage_recover
131 __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
92f1da4d 132int __ham_stat __P((DB *, FILE *));
af69217f 133#endif /* _hash_ext_h_ */