xref: /titanic_41/usr/src/cmd/sendmail/db/include/btree_ext.h (revision cde2885fdf538266ee2a3b08dee2d5075ce8fa2b)
1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef _btree_ext_h_
3 #define _btree_ext_h_
4 int __bam_cmp __P((DB *, const DBT *,
5    PAGE *, u_int32_t, int (*)(const DBT *, const DBT *)));
6 int __bam_defcmp __P((const DBT *, const DBT *));
7 size_t __bam_defpfx __P((const DBT *, const DBT *));
8 int __bam_pgin __P((db_pgno_t, void *, DBT *));
9 int __bam_pgout __P((db_pgno_t, void *, DBT *));
10 int __bam_mswap __P((PAGE *));
11 int __bam_cprint __P((DB *));
12 int __bam_ca_delete __P((DB *, db_pgno_t, u_int32_t, int));
13 void __bam_ca_di __P((DB *, db_pgno_t, u_int32_t, int));
14 void __bam_ca_dup __P((DB *,
15    db_pgno_t, u_int32_t, u_int32_t, db_pgno_t, u_int32_t));
16 void __bam_ca_rsplit __P((DB *, db_pgno_t, db_pgno_t));
17 void __bam_ca_split __P((DB *,
18    db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, int));
19 int __bam_c_init __P((DBC *));
20 int __bam_dup __P((DBC *, CURSOR *, u_int32_t, int));
21 int __bam_delete __P((DB *, DB_TXN *, DBT *, u_int32_t));
22 int __bam_ditem __P((DBC *, PAGE *, u_int32_t));
23 int __bam_adjindx __P((DBC *, PAGE *, u_int32_t, u_int32_t, int));
24 int __bam_dpage __P((DBC *, const DBT *));
25 int __bam_dpages __P((DBC *));
26 int __bam_open __P((DB *, DB_INFO *));
27 int __bam_close __P((DB *));
28 void __bam_setovflsize __P((DB *));
29 int __bam_read_root __P((DB *));
30 int __bam_new __P((DBC *, u_int32_t, PAGE **));
31 int __bam_lput __P((DBC *, DB_LOCK));
32 int __bam_free __P((DBC *, PAGE *));
33 int __bam_lt __P((DBC *));
34 int __bam_lget
35    __P((DBC *, int, db_pgno_t, db_lockmode_t, DB_LOCK *));
36 int __bam_iitem __P((DBC *,
37    PAGE **, db_indx_t *, DBT *, DBT *, u_int32_t, u_int32_t));
38 int __bam_ritem __P((DBC *, PAGE *, u_int32_t, DBT *));
39 int __bam_pg_alloc_recover
40   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
41 int __bam_pg_free_recover
42   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
43 int __bam_split_recover
44   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
45 int __bam_rsplit_recover
46   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
47 int __bam_adj_recover
48   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
49 int __bam_cadjust_recover
50   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
51 int __bam_cdel_recover
52   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
53 int __bam_repl_recover
54   __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
55 int __ram_open __P((DB *, DB_INFO *));
56 int __ram_close __P((DB *));
57 int __ram_c_del __P((DBC *, u_int32_t));
58 int __ram_c_get __P((DBC *, DBT *, DBT *, u_int32_t));
59 int __ram_c_put __P((DBC *, DBT *, DBT *, u_int32_t));
60 void __ram_ca __P((DB *, db_recno_t, ca_recno_arg));
61 int __ram_getno __P((DBC *, const DBT *, db_recno_t *, int));
62 int __bam_rsearch __P((DBC *, db_recno_t *, u_int32_t, int, int *));
63 int __bam_adjust __P((DBC *, int32_t));
64 int __bam_nrecs __P((DBC *, db_recno_t *));
65 db_recno_t __bam_total __P((PAGE *));
66 int __bam_search __P((DBC *,
67     const DBT *, u_int32_t, int, db_recno_t *, int *));
68 int __bam_stkrel __P((DBC *, int));
69 int __bam_stkgrow __P((CURSOR *));
70 int __bam_split __P((DBC *, void *));
71 int __bam_copy __P((DB *, PAGE *, PAGE *, u_int32_t, u_int32_t));
72 int __bam_stat __P((DB *, void *, void *(*)(size_t), u_int32_t));
73 int __bam_pg_alloc_log
74     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
75     u_int32_t, DB_LSN *, DB_LSN *, db_pgno_t,
76     u_int32_t, db_pgno_t));
77 int __bam_pg_alloc_print
78    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
79 int __bam_pg_alloc_read __P((void *, __bam_pg_alloc_args **));
80 int __bam_pg_free_log
81     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
82     u_int32_t, db_pgno_t, DB_LSN *, const DBT *,
83     db_pgno_t));
84 int __bam_pg_free_print
85    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
86 int __bam_pg_free_read __P((void *, __bam_pg_free_args **));
87 int __bam_split_log
88     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
89     u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t,
90     DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *,
91     const DBT *));
92 int __bam_split_print
93    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
94 int __bam_split_read __P((void *, __bam_split_args **));
95 int __bam_rsplit_log
96     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
97     u_int32_t, db_pgno_t, const DBT *, db_pgno_t,
98     const DBT *, DB_LSN *));
99 int __bam_rsplit_print
100    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
101 int __bam_rsplit_read __P((void *, __bam_rsplit_args **));
102 int __bam_adj_log
103     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
104     u_int32_t, db_pgno_t, DB_LSN *, u_int32_t,
105     u_int32_t, u_int32_t));
106 int __bam_adj_print
107    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
108 int __bam_adj_read __P((void *, __bam_adj_args **));
109 int __bam_cadjust_log
110     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
111     u_int32_t, db_pgno_t, DB_LSN *, u_int32_t,
112     int32_t, int32_t));
113 int __bam_cadjust_print
114    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
115 int __bam_cadjust_read __P((void *, __bam_cadjust_args **));
116 int __bam_cdel_log
117     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
118     u_int32_t, db_pgno_t, DB_LSN *, u_int32_t));
119 int __bam_cdel_print
120    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
121 int __bam_cdel_read __P((void *, __bam_cdel_args **));
122 int __bam_repl_log
123     __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
124     u_int32_t, db_pgno_t, DB_LSN *, u_int32_t,
125     u_int32_t, const DBT *, const DBT *, u_int32_t,
126     u_int32_t));
127 int __bam_repl_print
128    __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
129 int __bam_repl_read __P((void *, __bam_repl_args **));
130 int __bam_init_print __P((DB_ENV *));
131 int __bam_init_recover __P((DB_ENV *));
132 #endif /* _btree_ext_h_ */
133