1/* DO NOT EDIT: automatically built by dist/s_include. */
2#ifndef	_btree_ext_h_
3#define	_btree_ext_h_
4
5#if defined(__cplusplus)
6extern "C" {
7#endif
8
9int __bam_compact __P((DB *, DB_THREAD_INFO *, DB_TXN *, DBT *, DBT *, DB_COMPACT *, u_int32_t, DBT *));
10int __bam_cmp __P((DBC *, const DBT *, PAGE *, u_int32_t, int (*)(DB *, const DBT *, const DBT *), int *));
11int __bam_defcmp __P((DB *, const DBT *, const DBT *));
12size_t __bam_defpfx __P((DB *, const DBT *, const DBT *));
13int __bam_compress_dupcmp __P((DB *, const DBT *, const DBT *));
14int __bam_defcompress __P((DB *, const DBT *, const DBT *, const DBT *, const DBT *, DBT *));
15int __bam_defdecompress __P((DB *, const DBT *, const DBT *, DBT *, DBT *, DBT *));
16int __bamc_compress_get __P((DBC *, DBT *, DBT *, u_int32_t));
17int __bamc_compress_put __P((DBC *, DBT *, DBT *, u_int32_t));
18int __bamc_compress_del __P((DBC *, u_int32_t));
19int __bamc_compress_bulk_del __P((DBC *, DBT *, u_int32_t));
20int __bamc_compress_count __P((DBC *, db_recno_t *));
21int __bamc_compress_cmp __P((DBC *, DBC *, int *));
22int __bamc_compress_dup __P((DBC *, DBC *, u_int32_t));
23int __bam_compress_salvage __P((DB *, VRFY_DBINFO *, void *, int (*)(void *, const void *), DBT *, DBT *));
24int __bam_compress_count __P((DBC *, u_int32_t *, u_int32_t *));
25int __bam_pgin __P((DB *, db_pgno_t, void *, DBT *));
26int __bam_pgout __P((DB *, db_pgno_t, void *, DBT *));
27int __bam_mswap __P((ENV *, PAGE *));
28int __bam_ca_delete __P((DB *, db_pgno_t, u_int32_t, int, int *));
29int __ram_ca_delete __P((DB *, db_pgno_t, int *));
30int __bam_ca_di __P((DBC *, db_pgno_t, u_int32_t, int));
31int __bam_ca_dup __P((DBC *, u_int32_t, db_pgno_t, u_int32_t, db_pgno_t, u_int32_t));
32int __bam_ca_undodup __P((DB *, u_int32_t, db_pgno_t, u_int32_t, u_int32_t));
33int __bam_ca_rsplit __P((DBC *, db_pgno_t, db_pgno_t));
34int __bam_ca_split __P((DBC *, db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, int));
35int __bam_ca_undosplit __P((DB *, db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t));
36int __bamc_init __P((DBC *, DBTYPE));
37int __bamc_refresh __P((DBC *));
38int __bamc_cmp __P((DBC *, DBC *, int *));
39int __bamc_count __P((DBC *, db_recno_t *));
40int __bamc_dup __P((DBC *, DBC *, u_int32_t));
41int __bam_bulk_overflow __P((DBC *, u_int32_t, db_pgno_t, u_int8_t *));
42int __bam_bulk_duplicates __P((DBC *, db_pgno_t, u_int8_t *, int32_t *, int32_t **, u_int8_t **, u_int32_t *, int));
43int __bamc_rget __P((DBC *, DBT *));
44int  __bam_opd_exists __P((DBC *, db_pgno_t));
45int __bam_ditem __P((DBC *, PAGE *, u_int32_t));
46int __bam_adjindx __P((DBC *, PAGE *, u_int32_t, u_int32_t, int));
47int __bam_dpages __P((DBC *, int, int));
48int __bam_relink __P((DBC *, PAGE *, PAGE *, db_pgno_t));
49int __bam_pupdate __P((DBC *, PAGE *));
50int __bam_db_create __P((DB *));
51int __bam_db_close __P((DB *));
52void __bam_map_flags __P((DB *, u_int32_t *, u_int32_t *));
53int __bam_set_flags __P((DB *, u_int32_t *flagsp));
54int __bam_set_bt_compare __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
55int __bam_set_bt_compress __P((DB *, int (*)(DB *, const DBT *, const DBT *, const DBT *, const DBT *, DBT *), int (*)(DB *, const DBT *, const DBT *, DBT *, DBT *, DBT *)));
56int __bam_get_bt_minkey __P((DB *, u_int32_t *));
57void __bam_copy_config __P((DB *, DB*, u_int32_t));
58void __ram_map_flags __P((DB *, u_int32_t *, u_int32_t *));
59int __ram_set_flags __P((DB *, u_int32_t *flagsp));
60int __ram_get_re_len __P((DB *, u_int32_t *));
61int __ram_get_re_pad __P((DB *, int *));
62int __bam_open __P((DB *, DB_THREAD_INFO *, DB_TXN *, const char *, db_pgno_t, u_int32_t));
63int __bam_metachk __P((DB *, const char *, BTMETA *));
64int __bam_read_root __P((DB *, DB_THREAD_INFO *, DB_TXN *, db_pgno_t, u_int32_t));
65int __bam_new_file __P((DB *, DB_THREAD_INFO *, DB_TXN *, DB_FH *, const char *));
66int __bam_new_subdb __P((DB *, DB *, DB_THREAD_INFO *, DB_TXN *));
67int __bam_iitem __P((DBC *, DBT *, DBT *, u_int32_t, u_int32_t));
68int __bam_ritem __P((DBC *, PAGE *, u_int32_t, DBT *, u_int32_t));
69int __bam_irep __P((DBC *, PAGE *, u_int32_t, DBT *, DBT *));
70int __bam_split_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
71int __bam_split_42_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
72int __bam_rsplit_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
73int __bam_adj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
74int __bam_cadjust_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
75int __bam_cdel_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
76int __bam_repl_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
77int __bam_root_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
78int __bam_curadj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
79int __bam_rcuradj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
80int __bam_relink_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
81int __bam_merge_44_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
82int __bam_merge_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
83int __bam_pgno_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
84int __bam_relink_43_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
85int __bam_reclaim __P((DB *, DB_THREAD_INFO *, DB_TXN *));
86int __bam_truncate __P((DBC *, u_int32_t *));
87int __ram_open __P((DB *, DB_THREAD_INFO *, DB_TXN *, const char *, db_pgno_t, u_int32_t));
88int __ram_append __P((DBC *, DBT *, DBT *));
89int __ramc_del __P((DBC *, u_int32_t));
90int __ramc_get __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
91int __ramc_put __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
92int __ram_ca __P((DBC *, ca_recno_arg, int *));
93int __ram_getno __P((DBC *, const DBT *, db_recno_t *, int));
94int __ram_writeback __P((DB *));
95int __bam_rsearch __P((DBC *, db_recno_t *, u_int32_t, int, int *));
96int __bam_adjust __P((DBC *, int32_t));
97int __bam_nrecs __P((DBC *, db_recno_t *));
98db_recno_t __bam_total __P((DB *, PAGE *));
99int __bam_get_root __P((DBC *, db_pgno_t, int, u_int32_t, int *));
100int __bam_search __P((DBC *, db_pgno_t, const DBT *, u_int32_t, int, db_recno_t *, int *));
101int __bam_stkrel __P((DBC *, u_int32_t));
102int __bam_stkgrow __P((ENV *, BTREE_CURSOR *));
103int __bam_split __P((DBC *, void *, db_pgno_t *));
104int __bam_broot __P((DBC *, PAGE *, u_int32_t, PAGE *, PAGE *));
105int __ram_root __P((DBC *, PAGE *, PAGE *, PAGE *));
106int __bam_pinsert __P((DBC *, EPG *, u_int32_t, PAGE *, PAGE *, int));
107int __bam_copy __P((DB *, PAGE *, PAGE *, u_int32_t, u_int32_t));
108int __bam_stat __P((DBC *, void *, u_int32_t));
109int __bam_stat_print __P((DBC *, u_int32_t));
110int __bam_stat_callback __P((DBC *, PAGE *, void *, int *));
111void __bam_print_cursor __P((DBC *));
112int __bam_key_range __P((DBC *, DBT *, DB_KEY_RANGE *, u_int32_t));
113int __bam_traverse __P((DBC *, db_lockmode_t, db_pgno_t, int (*)(DBC *, PAGE *, void *, int *), void *));
114int __bam_30_btreemeta __P((DB *, char *, u_int8_t *));
115int __bam_31_btreemeta __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
116int __bam_31_lbtree __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
117int __bam_vrfy_meta __P((DB *, VRFY_DBINFO *, BTMETA *, db_pgno_t, u_int32_t));
118int __ram_vrfy_leaf __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
119int __bam_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
120int __bam_vrfy_itemorder __P((DB *, VRFY_DBINFO *, DB_THREAD_INFO *, PAGE *, db_pgno_t, u_int32_t, int, int, u_int32_t));
121int __bam_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t, void *, void *, u_int32_t));
122int __bam_vrfy_subtree __P((DB *, VRFY_DBINFO *, db_pgno_t, void *, void *, u_int32_t, u_int32_t *, u_int32_t *, u_int32_t *));
123int __bam_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t, PAGE *, void *, int (*)(void *, const void *), DBT *, u_int32_t));
124int __bam_salvage_walkdupint __P((DB *, VRFY_DBINFO *, PAGE *, DBT *, void *, int (*)(void *, const void *), u_int32_t));
125int __bam_meta2pgset __P((DB *, VRFY_DBINFO *, BTMETA *, u_int32_t, DB *));
126int __bam_split_read __P((ENV *, DB **, void *, void *, __bam_split_args **));
127int __bam_split_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, u_int32_t, const DBT *, const DBT *, const DBT *, u_int32_t));
128int __bam_split_42_read __P((ENV *, DB **, void *, void *, __bam_split_42_args **));
129int __bam_rsplit_read __P((ENV *, DB **, void *, void *, __bam_rsplit_args **));
130int __bam_rsplit_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, const DBT *, db_pgno_t, db_pgno_t, const DBT *, DB_LSN *));
131int __bam_adj_read __P((ENV *, DB **, void *, void *, __bam_adj_args **));
132int __bam_adj_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t, u_int32_t, u_int32_t));
133int __bam_cadjust_read __P((ENV *, DB **, void *, void *, __bam_cadjust_args **));
134int __bam_cadjust_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t, int32_t, u_int32_t));
135int __bam_cdel_read __P((ENV *, DB **, void *, void *, __bam_cdel_args **));
136int __bam_cdel_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t));
137int __bam_repl_read __P((ENV *, DB **, void *, void *, __bam_repl_args **));
138int __bam_repl_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t, u_int32_t, const DBT *, const DBT *, u_int32_t, u_int32_t));
139int __bam_root_read __P((ENV *, DB **, void *, void *, __bam_root_args **));
140int __bam_root_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, db_pgno_t, DB_LSN *));
141int __bam_curadj_read __P((ENV *, DB **, void *, void *, __bam_curadj_args **));
142int __bam_curadj_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_ca_mode, db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, u_int32_t, u_int32_t));
143int __bam_rcuradj_read __P((ENV *, DB **, void *, void *, __bam_rcuradj_args **));
144int __bam_rcuradj_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, ca_recno_arg, db_pgno_t, db_recno_t, u_int32_t));
145int __bam_relink_43_read __P((ENV *, DB **, void *, void *, __bam_relink_43_args **));
146int __bam_relink_read __P((ENV *, DB **, void *, void *, __bam_relink_args **));
147int __bam_relink_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, db_pgno_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *));
148int __bam_merge_44_read __P((ENV *, DB **, void *, void *, __bam_merge_44_args **));
149int __bam_merge_read __P((ENV *, DB **, void *, void *, __bam_merge_args **));
150int __bam_merge_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, const DBT *, const DBT *, int32_t));
151int __bam_pgno_read __P((ENV *, DB **, void *, void *, __bam_pgno_args **));
152int __bam_pgno_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t, db_pgno_t, db_pgno_t));
153int __bam_init_recover __P((ENV *, DB_DISTAB *));
154int __bam_split_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
155int __bam_split_42_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
156int __bam_rsplit_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
157int __bam_adj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
158int __bam_cadjust_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
159int __bam_cdel_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
160int __bam_repl_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
161int __bam_root_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
162int __bam_curadj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
163int __bam_rcuradj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
164int __bam_relink_43_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
165int __bam_relink_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
166int __bam_merge_44_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
167int __bam_merge_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
168int __bam_pgno_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
169int __bam_init_print __P((ENV *, DB_DISTAB *));
170
171#if defined(__cplusplus)
172}
173#endif
174#endif /* !_btree_ext_h_ */
175