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((DB *, DB_THREAD_INFO *, DB_TXN *, 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_pgin __P((DB *, db_pgno_t, void *, DBT *));
14int __bam_pgout __P((DB *, db_pgno_t, void *, DBT *));
15int __bam_mswap __P((ENV *, PAGE *));
16int __bam_ca_delete __P((DB *, db_pgno_t, u_int32_t, int, int *));
17int __ram_ca_delete __P((DB *, db_pgno_t, int *));
18int __bam_ca_di __P((DBC *, db_pgno_t, u_int32_t, int));
19int __bam_ca_dup __P((DBC *, u_int32_t, db_pgno_t, u_int32_t, db_pgno_t, u_int32_t));
20int __bam_ca_undodup __P((DB *, u_int32_t, db_pgno_t, u_int32_t, u_int32_t));
21int __bam_ca_rsplit __P((DBC *, db_pgno_t, db_pgno_t));
22int __bam_ca_split __P((DBC *, db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, int));
23int __bam_ca_undosplit __P((DB *, db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t));
24int __bamc_init __P((DBC *, DBTYPE));
25int __bamc_refresh __P((DBC *));
26int __bamc_count __P((DBC *, db_recno_t *));
27int __bamc_dup __P((DBC *, DBC *));
28int __bam_bulk_overflow __P((DBC *, u_int32_t, db_pgno_t, u_int8_t *));
29int __bam_bulk_duplicates __P((DBC *, db_pgno_t, u_int8_t *, int32_t *, int32_t **, u_int8_t **, u_int32_t *, int));
30int __bamc_rget __P((DBC *, DBT *));
31int  __bam_opd_exists __P((DBC *, db_pgno_t));
32int __bam_ditem __P((DBC *, PAGE *, u_int32_t));
33int __bam_adjindx __P((DBC *, PAGE *, u_int32_t, u_int32_t, int));
34int __bam_dpages __P((DBC *, int, int));
35int __bam_relink __P((DBC *, PAGE *, db_pgno_t));
36int __bam_pupdate __P((DBC *, PAGE *));
37int __bam_db_create __P((DB *));
38int __bam_db_close __P((DB *));
39void __bam_map_flags __P((DB *, u_int32_t *, u_int32_t *));
40int __bam_set_flags __P((DB *, u_int32_t *flagsp));
41int __bam_set_bt_compare __P((DB *, int (*)(DB *, const DBT *, const DBT *)));
42int __bam_get_bt_minkey __P((DB *, u_int32_t *));
43void __ram_map_flags __P((DB *, u_int32_t *, u_int32_t *));
44int __ram_set_flags __P((DB *, u_int32_t *flagsp));
45int __ram_get_re_len __P((DB *, u_int32_t *));
46int __ram_get_re_pad __P((DB *, int *));
47int __bam_open __P((DB *, DB_THREAD_INFO *, DB_TXN *, const char *, db_pgno_t, u_int32_t));
48int __bam_metachk __P((DB *, const char *, BTMETA *));
49int __bam_read_root __P((DB *, DB_THREAD_INFO *, DB_TXN *, db_pgno_t, u_int32_t));
50int __bam_new_file __P((DB *, DB_THREAD_INFO *, DB_TXN *, DB_FH *, const char *));
51int __bam_new_subdb __P((DB *, DB *, DB_THREAD_INFO *, DB_TXN *));
52int __bam_iitem __P((DBC *, DBT *, DBT *, u_int32_t, u_int32_t));
53int __bam_ritem __P((DBC *, PAGE *, u_int32_t, DBT *));
54int __bam_split_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
55int __bam_rsplit_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
56int __bam_adj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
57int __bam_cadjust_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
58int __bam_cdel_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
59int __bam_repl_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
60int __bam_root_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
61int __bam_curadj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
62int __bam_rcuradj_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
63int __bam_relink_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
64int __bam_merge_44_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
65int __bam_merge_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
66int __bam_pgno_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
67int __bam_relink_43_recover __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
68int __bam_reclaim __P((DB *, DB_THREAD_INFO *, DB_TXN *));
69int __bam_truncate __P((DBC *, u_int32_t *));
70int __ram_open __P((DB *, DB_THREAD_INFO *, DB_TXN *, const char *, db_pgno_t, u_int32_t));
71int __ram_append __P((DBC *, DBT *, DBT *));
72int __ramc_del __P((DBC *));
73int __ramc_get __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
74int __ramc_put __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
75int __ram_ca __P((DBC *, ca_recno_arg, int *));
76int __ram_getno __P((DBC *, const DBT *, db_recno_t *, int));
77int __ram_writeback __P((DB *));
78int __bam_rsearch __P((DBC *, db_recno_t *, u_int32_t, int, int *));
79int __bam_adjust __P((DBC *, int32_t));
80int __bam_nrecs __P((DBC *, db_recno_t *));
81db_recno_t __bam_total __P((DB *, PAGE *));
82int __bam_get_root __P((DBC *, db_pgno_t, int, u_int32_t, int *));
83int __bam_search __P((DBC *, db_pgno_t, const DBT *, u_int32_t, int, db_recno_t *, int *));
84int __bam_stkrel __P((DBC *, u_int32_t));
85int __bam_stkgrow __P((ENV *, BTREE_CURSOR *));
86int __bam_split __P((DBC *, void *, db_pgno_t *));
87int __bam_pinsert __P((DBC *, EPG *, u_int32_t, PAGE *, PAGE *, int));
88int __bam_copy __P((DB *, PAGE *, PAGE *, u_int32_t, u_int32_t));
89int __bam_stat __P((DBC *, void *, u_int32_t));
90int __bam_stat_print __P((DBC *, u_int32_t));
91int __bam_stat_callback __P((DBC *, PAGE *, void *, int *));
92void __bam_print_cursor __P((DBC *));
93int __bam_key_range __P((DBC *, DBT *, DB_KEY_RANGE *, u_int32_t));
94int __bam_traverse __P((DBC *, db_lockmode_t, db_pgno_t, int (*)(DBC *, PAGE *, void *, int *), void *));
95int __bam_30_btreemeta __P((DB *, char *, u_int8_t *));
96int __bam_31_btreemeta __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
97int __bam_31_lbtree __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
98int __bam_vrfy_meta __P((DB *, VRFY_DBINFO *, BTMETA *, db_pgno_t, u_int32_t));
99int __ram_vrfy_leaf __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
100int __bam_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
101int __bam_vrfy_itemorder __P((DB *, VRFY_DBINFO *, DB_THREAD_INFO *, PAGE *, db_pgno_t, u_int32_t, int, int, u_int32_t));
102int __bam_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t));
103int __bam_vrfy_subtree __P((DB *, VRFY_DBINFO *, db_pgno_t, void *, void *, u_int32_t, u_int32_t *, u_int32_t *, u_int32_t *));
104int __bam_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t, PAGE *, void *, int (*)(void *, const void *), DBT *, u_int32_t));
105int __bam_salvage_walkdupint __P((DB *, VRFY_DBINFO *, PAGE *, DBT *, void *, int (*)(void *, const void *), u_int32_t));
106int __bam_meta2pgset __P((DB *, VRFY_DBINFO *, BTMETA *, u_int32_t, DB *));
107int __bam_split_read __P((ENV *, DB **, void *, void *, __bam_split_args **));
108int __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, const DBT *, u_int32_t));
109int __bam_rsplit_read __P((ENV *, DB **, void *, void *, __bam_rsplit_args **));
110int __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 *));
111int __bam_adj_read __P((ENV *, DB **, void *, void *, __bam_adj_args **));
112int __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));
113int __bam_cadjust_read __P((ENV *, DB **, void *, void *, __bam_cadjust_args **));
114int __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));
115int __bam_cdel_read __P((ENV *, DB **, void *, void *, __bam_cdel_args **));
116int __bam_cdel_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, u_int32_t));
117int __bam_repl_read __P((ENV *, DB **, void *, void *, __bam_repl_args **));
118int __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));
119int __bam_root_read __P((ENV *, DB **, void *, void *, __bam_root_args **));
120int __bam_root_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, db_pgno_t, DB_LSN *));
121int __bam_curadj_read __P((ENV *, DB **, void *, void *, __bam_curadj_args **));
122int __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));
123int __bam_rcuradj_read __P((ENV *, DB **, void *, void *, __bam_rcuradj_args **));
124int __bam_rcuradj_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, ca_recno_arg, db_pgno_t, db_recno_t, u_int32_t));
125int __bam_relink_43_read __P((ENV *, DB **, void *, void *, __bam_relink_43_args **));
126int __bam_relink_read __P((ENV *, DB **, void *, void *, __bam_relink_args **));
127int __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 *));
128int __bam_merge_44_read __P((ENV *, DB **, void *, void *, __bam_merge_44_args **));
129int __bam_merge_read __P((ENV *, DB **, void *, void *, __bam_merge_args **));
130int __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));
131int __bam_pgno_read __P((ENV *, DB **, void *, void *, __bam_pgno_args **));
132int __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));
133int __bam_init_recover __P((ENV *, DB_DISTAB *));
134int __bam_split_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
135int __bam_rsplit_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
136int __bam_adj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
137int __bam_cadjust_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
138int __bam_cdel_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
139int __bam_repl_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
140int __bam_root_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
141int __bam_curadj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
142int __bam_rcuradj_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
143int __bam_relink_43_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
144int __bam_relink_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
145int __bam_merge_44_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
146int __bam_merge_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
147int __bam_pgno_print __P((ENV *, DBT *, DB_LSN *, db_recops, void *));
148int __bam_init_print __P((ENV *, DB_DISTAB *));
149
150#if defined(__cplusplus)
151}
152#endif
153#endif /* !_btree_ext_h_ */
154