1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef	_btree_ext_h_
3 #define	_btree_ext_h_
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
7 int CDB___bam_cmp __P((DB *, const DBT *,
8    PAGE *, u_int32_t, int (*)(const DBT *, const DBT *), int *));
9 int CDB___bam_defcmp __P((const DBT *, const DBT *));
10 size_t CDB___bam_defpfx __P((const DBT *, const DBT *));
11 int CDB___bam_pgin __P((DB_ENV *, db_pgno_t, void *, DBT *));
12 int CDB___bam_pgout __P((DB_ENV *, db_pgno_t, void *, DBT *));
13 int CDB___bam_mswap __P((PAGE *));
14 void CDB___bam_cprint __P((DBC *));
15 int CDB___bam_ca_delete __P((DB *, db_pgno_t, u_int32_t, int));
16 int CDB___ram_ca_delete __P((DB *, db_pgno_t));
17 void CDB___bam_ca_di __P((DB *, db_pgno_t, u_int32_t, int));
18 int CDB___bam_ca_dup __P((DB *,
19    db_pgno_t, u_int32_t, u_int32_t, db_pgno_t, u_int32_t));
20 void CDB___bam_ca_rsplit __P((DB *, db_pgno_t, db_pgno_t));
21 void CDB___bam_ca_split __P((DB *,
22    db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, int));
23 int CDB___bam_c_init __P((DBC *, DBTYPE));
24 int CDB___bam_c_refresh __P((DBC *));
25 int CDB___bam_c_count __P((DBC *, db_recno_t *));
26 int CDB___bam_c_dup __P((DBC *, DBC *));
27 int CDB___bam_c_rget __P((DBC *, DBT *, u_int32_t));
28 int CDB___bam_delete __P((DB *, DB_TXN *, DBT *, u_int32_t));
29 int CDB___bam_ditem __P((DBC *, PAGE *, u_int32_t));
30 int CDB___bam_adjindx __P((DBC *, PAGE *, u_int32_t, u_int32_t, int));
31 int CDB___bam_dpages __P((DBC *, EPG *));
32 int CDB___bam_db_create __P((DB *));
33 int CDB___bam_db_close __P((DB *));
34 int CDB___bam_set_flags __P((DB *, u_int32_t *flagsp));
35 int CDB___ram_set_flags __P((DB *, u_int32_t *flagsp));
36 int CDB___bam_open __P((DB *, const char *, db_pgno_t, u_int32_t));
37 int CDB___bam_metachk __P((DB *, const char *, BTMETA *));
38 int CDB___bam_read_root __P((DB *, const char *, db_pgno_t, u_int32_t));
39 int CDB___bam_iitem __P((DBC *, DBT *, DBT *, u_int32_t, u_int32_t));
40 u_int32_t CDB___bam_partsize __P((u_int32_t, DBT *, PAGE *, u_int32_t));
41 int CDB___bam_build __P((DBC *, u_int32_t,
42     DBT *, PAGE *, u_int32_t, u_int32_t));
43 int CDB___bam_ritem __P((DBC *, PAGE *, u_int32_t, DBT *));
44 int CDB___bam_pg_alloc_recover
45   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
46 int CDB___bam_pg_free_recover
47   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
48 int CDB___bam_split_recover
49   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
50 int CDB___bam_rsplit_recover
51   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
52 int CDB___bam_adj_recover
53   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
54 int CDB___bam_cadjust_recover
55   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
56 int CDB___bam_cdel_recover
57   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
58 int CDB___bam_repl_recover
59   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
60 int CDB___bam_root_recover
61   __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
62 int CDB___bam_reclaim __P((DB *, DB_TXN *));
63 int CDB___ram_open __P((DB *, const char *, db_pgno_t, u_int32_t));
64 int CDB___ram_c_del __P((DBC *));
65 int CDB___ram_c_get
66     __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
67 int CDB___ram_c_put __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *));
68 int CDB___ram_getno __P((DBC *, const DBT *, db_recno_t *, int));
69 int CDB___ram_writeback __P((DB *));
70 int CDB___bam_rsearch __P((DBC *, db_recno_t *, u_int32_t, int, int *));
71 int CDB___bam_adjust __P((DBC *, int32_t));
72 int CDB___bam_nrecs __P((DBC *, db_recno_t *));
73 db_recno_t CDB___bam_total __P((PAGE *));
74 int CDB___bam_search __P((DBC *,
75     const DBT *, u_int32_t, int, db_recno_t *, int *));
76 int CDB___bam_stkrel __P((DBC *, u_int32_t));
77 int CDB___bam_stkgrow __P((DB_ENV *, BTREE_CURSOR *));
78 int CDB___bam_split __P((DBC *, void *));
79 int CDB___bam_copy __P((DB *, PAGE *, PAGE *, u_int32_t, u_int32_t));
80 int CDB___bam_stat __P((DB *, void *, void *(*)(size_t), u_int32_t));
81 int CDB___bam_traverse __P((DBC *, db_lockmode_t,
82     db_pgno_t, int (*)(DB *, PAGE *, void *, int *), void *));
83 int CDB___bam_stat_callback __P((DB *, PAGE *, void *, int *));
84 int CDB___bam_key_range __P((DB *,
85     DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
86 int CDB___bam_30_btreemeta __P((DB *, char *, u_int8_t *));
87 int CDB___bam_31_btreemeta
88      __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
89 int CDB___bam_31_lbtree
90      __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *));
91 int CDB___bam_vrfy_meta __P((DB *, VRFY_DBINFO *, BTMETA *,
92     db_pgno_t, u_int32_t));
93 int CDB___ram_vrfy_leaf __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t,
94     u_int32_t));
95 int CDB___bam_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t,
96     u_int32_t));
97 int CDB___bam_vrfy_itemorder __P((DB *, VRFY_DBINFO *, PAGE *,
98     db_pgno_t, u_int32_t, int, int, u_int32_t));
99 int CDB___bam_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t,
100     u_int32_t));
101 int CDB___bam_vrfy_subtree __P((DB *, VRFY_DBINFO *, db_pgno_t, void *,
102     void *, u_int32_t, u_int32_t *, u_int32_t *, u_int32_t *));
103 int CDB___bam_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t,
104     PAGE *, void *, int (*)(void *, const void *), DBT *,
105     u_int32_t));
106 int CDB___bam_salvage_walkdupint __P((DB *, VRFY_DBINFO *, PAGE *,
107     DBT *, void *, int (*)(void *, const void *), u_int32_t));
108 int CDB___bam_meta2pgset __P((DB *, VRFY_DBINFO *, BTMETA *,
109     u_int32_t, DB *));
110 #if defined(__cplusplus)
111 }
112 #endif
113 #endif /* _btree_ext_h_ */
114