Update.
[glibc.git] / db2 / include / hash_ext.h
blob7086adcc44f8f0810020471a1bbcd156dce498d6
1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef _hash_ext_h_
3 #define _hash_ext_h_
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 *));
10 void __ham_c_update
11 __P((HASH_CURSOR *, db_pgno_t, u_int32_t, int, int));
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,
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 **));
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,
36 u_int32_t, u_int32_t, db_pgno_t, const DBT *,
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 *,
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 **));
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,
59 u_int32_t, DB_LSN *));
60 int __ham_ovfl_print
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 *));
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 *, 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));
93 void __ham_reputpair
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,
98 int32_t, DBT *));
99 int __ham_split_page __P((HTAB *, u_int32_t, u_int32_t));
100 int __ham_add_el
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 **));
110 #ifdef DEBUG
111 db_pgno_t __bucket_to_page __P((HTAB *, db_pgno_t));
112 #endif
113 void __ham_init_ovflpages __P((HTAB *));
114 int __ham_get_cpage __P((HTAB *, HASH_CURSOR *, db_lockmode_t));
115 int __ham_next_cpage
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_ */