00001
00002 #ifndef _db_ext_h_
00003 #define _db_ext_h_
00004
00005 #if defined(__cplusplus)
00006 extern "C" {
00007 #endif
00008
00009 int __crdel_metasub_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, const DBT *, DB_LSN *));
00010 int __crdel_metasub_read __P((DB_ENV *, void *, __crdel_metasub_args **));
00011 int __crdel_inmem_create_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, const DBT *, const DBT *, u_int32_t));
00012 int __crdel_inmem_create_read __P((DB_ENV *, void *, __crdel_inmem_create_args **));
00013 int __crdel_inmem_rename_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, const DBT *, const DBT *, const DBT *));
00014 int __crdel_inmem_rename_read __P((DB_ENV *, void *, __crdel_inmem_rename_args **));
00015 int __crdel_inmem_remove_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, const DBT *, const DBT *));
00016 int __crdel_inmem_remove_read __P((DB_ENV *, void *, __crdel_inmem_remove_args **));
00017 int __crdel_init_recover __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00018 int __crdel_metasub_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00019 int __crdel_inmem_create_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00020 int __crdel_inmem_rename_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00021 int __crdel_inmem_remove_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00022 int __crdel_init_print __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00023 int __crdel_metasub_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00024 int __crdel_inmem_create_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00025 int __crdel_inmem_rename_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00026 int __crdel_inmem_remove_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00027 int __db_master_open __P((DB *, DB_TXN *, const char *, u_int32_t, int, DB **));
00028 int __db_master_update __P((DB *, DB *, DB_TXN *, const char *, DBTYPE, mu_action, const char *, u_int32_t));
00029 int __db_dbenv_setup __P((DB *, DB_TXN *, const char *, const char *, u_int32_t, u_int32_t));
00030 int __db_dbenv_mpool __P((DB *, const char *, u_int32_t));
00031 int __db_close __P((DB *, DB_TXN *, u_int32_t));
00032 int __db_refresh __P((DB *, DB_TXN *, u_int32_t, int *, int));
00033 int __db_log_page __P((DB *, DB_TXN *, DB_LSN *, db_pgno_t, PAGE *));
00034 int __db_backup_name __P((DB_ENV *, const char *, DB_TXN *, char **));
00035 DB *__dblist_get __P((DB_ENV *, u_int32_t));
00036 #ifdef CONFIG_TEST
00037 int __db_testcopy __P((DB_ENV *, DB *, const char *));
00038 #endif
00039 int __db_cursor_int __P((DB *, DB_TXN *, DBTYPE, db_pgno_t, int, u_int32_t, DBC **));
00040 int __db_put __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
00041 int __db_del __P((DB *, DB_TXN *, DBT *, u_int32_t));
00042 int __db_sync __P((DB *));
00043 int __db_associate __P((DB *, DB_TXN *, DB *, int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
00044 int __db_secondary_close __P((DB *, u_int32_t));
00045 int __db_addrem_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, u_int32_t, u_int32_t, const DBT *, const DBT *, DB_LSN *));
00046 int __db_addrem_read __P((DB_ENV *, void *, __db_addrem_args **));
00047 int __db_big_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, u_int32_t, db_pgno_t, db_pgno_t, db_pgno_t, const DBT *, DB_LSN *, DB_LSN *, DB_LSN *));
00048 int __db_big_read __P((DB_ENV *, void *, __db_big_args **));
00049 int __db_ovref_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, int32_t, DB_LSN *));
00050 int __db_ovref_read __P((DB_ENV *, void *, __db_ovref_args **));
00051 int __db_debug_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, const DBT *, int32_t, const DBT *, const DBT *, u_int32_t));
00052 int __db_debug_read __P((DB_ENV *, void *, __db_debug_args **));
00053 int __db_noop_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *));
00054 int __db_noop_read __P((DB_ENV *, void *, __db_noop_args **));
00055 int __db_pg_alloc_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, u_int32_t, db_pgno_t, db_pgno_t));
00056 int __db_pg_alloc_read __P((DB_ENV *, void *, __db_pg_alloc_args **));
00057 int __db_pg_free_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, const DBT *, db_pgno_t, db_pgno_t));
00058 int __db_pg_free_read __P((DB_ENV *, void *, __db_pg_free_args **));
00059 int __db_cksum_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t));
00060 int __db_cksum_read __P((DB_ENV *, void *, __db_cksum_args **));
00061 int __db_pg_freedata_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, const DBT *, db_pgno_t, db_pgno_t, const DBT *));
00062 int __db_pg_freedata_read __P((DB_ENV *, void *, __db_pg_freedata_args **));
00063 int __db_pg_prepare_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t));
00064 int __db_pg_prepare_read __P((DB_ENV *, void *, __db_pg_prepare_args **));
00065 int __db_pg_new_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, const DBT *, db_pgno_t));
00066 int __db_pg_new_read __P((DB_ENV *, void *, __db_pg_new_args **));
00067 int __db_pg_init_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, const DBT *, const DBT *));
00068 int __db_pg_init_read __P((DB_ENV *, void *, __db_pg_init_args **));
00069 int __db_pg_sort_log __P((DB *, DB_TXN *, DB_LSN *, u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *, db_pgno_t, const DBT *));
00070 int __db_pg_sort_read __P((DB_ENV *, void *, __db_pg_sort_args **));
00071 int __db_init_recover __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00072 int __db_addrem_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00073 int __db_big_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00074 int __db_ovref_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00075 int __db_debug_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00076 int __db_noop_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00077 int __db_pg_alloc_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00078 int __db_pg_free_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00079 int __db_cksum_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00080 int __db_pg_freedata_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00081 int __db_pg_prepare_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00082 int __db_pg_new_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00083 int __db_pg_init_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00084 int __db_pg_sort_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00085 int __db_init_print __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *));
00086 int __db_c_close __P((DBC *));
00087 int __db_c_destroy __P((DBC *));
00088 int __db_c_count __P((DBC *, db_recno_t *));
00089 int __db_c_del __P((DBC *, u_int32_t));
00090 int __db_c_dup __P((DBC *, DBC **, u_int32_t));
00091 int __db_c_idup __P((DBC *, DBC **, u_int32_t));
00092 int __db_c_newopd __P((DBC *, db_pgno_t, DBC *, DBC **));
00093 int __db_c_get __P((DBC *, DBT *, DBT *, u_int32_t));
00094 int __db_c_put __P((DBC *, DBT *, DBT *, u_int32_t));
00095 int __db_duperr __P((DB *, u_int32_t));
00096 int __db_c_secondary_get_pp __P((DBC *, DBT *, DBT *, u_int32_t));
00097 int __db_c_pget __P((DBC *, DBT *, DBT *, DBT *, u_int32_t));
00098 int __db_c_del_primary __P((DBC *));
00099 int __db_s_first __P((DB *, DB **));
00100 int __db_s_next __P((DB **));
00101 int __db_s_done __P((DB *));
00102 u_int32_t __db_partsize __P((u_int32_t, DBT *));
00103 int __db_pgin __P((DB_ENV *, db_pgno_t, void *, DBT *));
00104 int __db_pgout __P((DB_ENV *, db_pgno_t, void *, DBT *));
00105 void __db_metaswap __P((PAGE *));
00106 int __db_byteswap __P((DB_ENV *, DB *, db_pgno_t, PAGE *, size_t, int));
00107 int __db_dispatch __P((DB_ENV *, int (**)__P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)), size_t, DBT *, DB_LSN *, db_recops, DB_TXNHEAD *));
00108 int __db_add_recovery __P((DB_ENV *, int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), size_t *, int (*)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), u_int32_t));
00109 int __db_txnlist_init __P((DB_ENV *, u_int32_t, u_int32_t, DB_LSN *, DB_TXNHEAD **));
00110 int __db_txnlist_add __P((DB_ENV *, DB_TXNHEAD *, u_int32_t, u_int32_t, DB_LSN *));
00111 int __db_txnlist_remove __P((DB_ENV *, DB_TXNHEAD *, u_int32_t));
00112 void __db_txnlist_ckp __P((DB_ENV *, DB_TXNHEAD *, DB_LSN *));
00113 void __db_txnlist_end __P((DB_ENV *, DB_TXNHEAD *));
00114 int __db_txnlist_find __P((DB_ENV *, DB_TXNHEAD *, u_int32_t, u_int32_t *));
00115 int __db_txnlist_update __P((DB_ENV *, DB_TXNHEAD *, u_int32_t, u_int32_t, DB_LSN *, u_int32_t *, int));
00116 int __db_txnlist_gen __P((DB_ENV *, DB_TXNHEAD *, int, u_int32_t, u_int32_t));
00117 int __db_txnlist_lsnadd __P((DB_ENV *, DB_TXNHEAD *, DB_LSN *));
00118 int __db_txnlist_lsnget __P((DB_ENV *, DB_TXNHEAD *, DB_LSN *, u_int32_t));
00119 int __db_txnlist_lsninit __P((DB_ENV *, DB_TXNHEAD *, DB_LSN *));
00120 #ifndef HAVE_FTRUNCATE
00121 int __db_add_limbo __P((DB_ENV *, DB_TXNHEAD *, int32_t, db_pgno_t, int32_t));
00122 #endif
00123 #ifndef HAVE_FTRUNCATE
00124 int __db_do_the_limbo __P((DB_ENV *, DB_TXN *, DB_TXN *, DB_TXNHEAD *, db_limbo_state));
00125 #endif
00126 void __db_txnlist_print __P((DB_TXNHEAD *));
00127 int __db_ditem __P((DBC *, PAGE *, u_int32_t, u_int32_t));
00128 int __db_pitem __P((DBC *, PAGE *, u_int32_t, u_int32_t, DBT *, DBT *));
00129 int __db_associate_pp __P((DB *, DB_TXN *, DB *, int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
00130 int __db_close_pp __P((DB *, u_int32_t));
00131 int __db_cursor_pp __P((DB *, DB_TXN *, DBC **, u_int32_t));
00132 int __db_cursor __P((DB *, DB_TXN *, DBC **, u_int32_t));
00133 int __db_del_pp __P((DB *, DB_TXN *, DBT *, u_int32_t));
00134 int __db_fd_pp __P((DB *, int *));
00135 int __db_get_pp __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
00136 int __db_get __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
00137 int __db_join_pp __P((DB *, DBC **, DBC **, u_int32_t));
00138 int __db_key_range_pp __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
00139 int __db_open_pp __P((DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int));
00140 int __db_pget_pp __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
00141 int __db_pget __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
00142 int __db_put_pp __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
00143 int __db_compact_pp __P((DB *, DB_TXN *, DBT *, DBT *, DB_COMPACT *, u_int32_t, DBT *));
00144 int __db_sync_pp __P((DB *, u_int32_t));
00145 int __db_c_close_pp __P((DBC *));
00146 int __db_c_count_pp __P((DBC *, db_recno_t *, u_int32_t));
00147 int __db_c_del_pp __P((DBC *, u_int32_t));
00148 int __db_c_dup_pp __P((DBC *, DBC **, u_int32_t));
00149 int __db_c_get_pp __P((DBC *, DBT *, DBT *, u_int32_t));
00150 int __db_secondary_close_pp __P((DB *, u_int32_t));
00151 int __db_c_pget_pp __P((DBC *, DBT *, DBT *, DBT *, u_int32_t));
00152 int __db_c_put_pp __P((DBC *, DBT *, DBT *, u_int32_t));
00153 int __db_txn_auto_init __P((DB_ENV *, DB_TXN **));
00154 int __db_txn_auto_resolve __P((DB_ENV *, DB_TXN *, int, int));
00155 int __db_join __P((DB *, DBC **, DBC **, u_int32_t));
00156 int __db_join_close __P((DBC *));
00157 int __db_secondary_corrupt __P((DB *));
00158 int __db_new __P((DBC *, u_int32_t, PAGE **));
00159 int __db_free __P((DBC *, PAGE *));
00160 #ifdef HAVE_FTRUNCATE
00161 void __db_freelist_pos __P((db_pgno_t, db_pgno_t *, u_int32_t, u_int32_t *));
00162 #endif
00163 #ifdef HAVE_FTRUNCATE
00164 int __db_pg_truncate __P((DB_MPOOLFILE *, struct pglist *list, DB_COMPACT *, u_int32_t *, db_pgno_t *, DB_LSN *, int));
00165 #endif
00166 #ifdef HAVE_FTRUNCATE
00167 int __db_free_truncate __P((DB *, DB_TXN *, u_int32_t, DB_COMPACT *, struct pglist **, u_int32_t *, db_pgno_t *));
00168 #endif
00169 int __db_lprint __P((DBC *));
00170 int __db_lget __P((DBC *, int, db_pgno_t, db_lockmode_t, u_int32_t, DB_LOCK *));
00171 int __db_lput __P((DBC *, DB_LOCK *));
00172 int __dbh_am_chk __P((DB *, u_int32_t));
00173 int __db_get_flags __P((DB *, u_int32_t *));
00174 int __db_set_flags __P((DB *, u_int32_t));
00175 int __db_get_lorder __P((DB *, int *));
00176 int __db_set_lorder __P((DB *, int));
00177 int __db_set_pagesize __P((DB *, u_int32_t));
00178 int __db_open __P((DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int, db_pgno_t));
00179 int __db_get_open_flags __P((DB *, u_int32_t *));
00180 int __db_new_file __P((DB *, DB_TXN *, DB_FH *, const char *));
00181 int __db_init_subdb __P((DB *, DB *, const char *, DB_TXN *));
00182 int __db_chk_meta __P((DB_ENV *, DB *, DBMETA *, int));
00183 int __db_meta_setup __P((DB_ENV *, DB *, const char *, DBMETA *, u_int32_t, int));
00184 int __db_goff __P((DB *, DBT *, u_int32_t, db_pgno_t, void **, u_int32_t *));
00185 int __db_poff __P((DBC *, const DBT *, db_pgno_t *));
00186 int __db_ovref __P((DBC *, db_pgno_t, int32_t));
00187 int __db_doff __P((DBC *, db_pgno_t));
00188 int __db_moff __P((DB *, const DBT *, db_pgno_t, u_int32_t, int (*)(DB *, const DBT *, const DBT *), int *));
00189 int __db_vrfy_overflow __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
00190 int __db_vrfy_ovfl_structure __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t, u_int32_t));
00191 int __db_safe_goff __P((DB *, VRFY_DBINFO *, db_pgno_t, DBT *, void *, u_int32_t));
00192 void __db_loadme __P((void));
00193 int __db_dumptree __P((DB *, char *, char *));
00194 const FN * __db_get_flags_fn __P((void));
00195 int __db_prnpage __P((DB *, db_pgno_t));
00196 int __db_prpage __P((DB *, PAGE *, u_int32_t));
00197 void __db_pr __P((DB_ENV *, DB_MSGBUF *, u_int8_t *, u_int32_t));
00198 void __db_prflags __P((DB_ENV *, DB_MSGBUF *, u_int32_t, const FN *, const char *, const char *));
00199 const char * __db_lockmode_to_string __P((db_lockmode_t));
00200 int __db_dumptree __P((DB *, char *, char *));
00201 const FN * __db_get_flags_fn __P((void));
00202 int __db_dump_pp __P((DB *, const char *, int (*)(void *, const void *), void *, int, int));
00203 int __db_dump __P((DB *, const char *, int (*)(void *, const void *), void *, int, int));
00204 int __db_prdbt __P((DBT *, int, const char *, void *, int (*)(void *, const void *), int));
00205 int __db_prheader __P((DB *, const char *, int, int, void *, int (*)(void *, const void *), VRFY_DBINFO *, db_pgno_t));
00206 int __db_prfooter __P((void *, int (*)(void *, const void *)));
00207 int __db_pr_callback __P((void *, const void *));
00208 const char * __db_dbtype_to_string __P((DBTYPE));
00209 int __db_addrem_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00210 int __db_big_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00211 int __db_ovref_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00212 int __db_debug_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00213 int __db_noop_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00214 int __db_pg_alloc_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00215 int __db_pg_free_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00216 int __db_pg_new_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00217 int __db_pg_freedata_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00218 int __db_cksum_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00219 int __db_pg_prepare_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00220 int __db_pg_init_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00221 int __db_pg_sort_recover __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
00222 int __db_traverse_big __P((DB *, db_pgno_t, int (*)(DB *, PAGE *, void *, int *), void *));
00223 int __db_reclaim_callback __P((DB *, PAGE *, void *, int *));
00224 int __db_truncate_callback __P((DB *, PAGE *, void *, int *));
00225 int __env_dbremove_pp __P((DB_ENV *, DB_TXN *, const char *, const char *, u_int32_t));
00226 int __db_remove_pp __P((DB *, const char *, const char *, u_int32_t));
00227 int __db_remove __P((DB *, DB_TXN *, const char *, const char *, u_int32_t));
00228 int __db_remove_int __P((DB *, DB_TXN *, const char *, const char *, u_int32_t));
00229 int __db_inmem_remove __P((DB *, DB_TXN *, const char *));
00230 int __env_dbrename_pp __P((DB_ENV *, DB_TXN *, const char *, const char *, const char *, u_int32_t));
00231 int __db_rename_pp __P((DB *, const char *, const char *, const char *, u_int32_t));
00232 int __db_rename __P((DB *, DB_TXN *, const char *, const char *, const char *));
00233 int __db_rename_int __P((DB *, DB_TXN *, const char *, const char *, const char *));
00234 int __db_ret __P((DB *, PAGE *, u_int32_t, DBT *, void **, u_int32_t *));
00235 int __db_retcopy __P((DB_ENV *, DBT *, void *, u_int32_t, void **, u_int32_t *));
00236 int __env_fileid_reset_pp __P((DB_ENV *, const char *, u_int32_t));
00237 int __env_lsn_reset_pp __P((DB_ENV *, const char *, u_int32_t));
00238 int __db_stat_pp __P((DB *, DB_TXN *, void *, u_int32_t));
00239 int __db_stat __P((DB *, DB_TXN *, void *, u_int32_t));
00240 int __db_stat_print_pp __P((DB *, u_int32_t));
00241 int __db_stat_print __P((DB *, u_int32_t));
00242 int __db_truncate_pp __P((DB *, DB_TXN *, u_int32_t *, u_int32_t));
00243 int __db_truncate __P((DB *, DB_TXN *, u_int32_t *));
00244 int __db_upgrade_pp __P((DB *, const char *, u_int32_t));
00245 int __db_upgrade __P((DB *, const char *, u_int32_t));
00246 int __db_lastpgno __P((DB *, char *, DB_FH *, db_pgno_t *));
00247 int __db_31_offdup __P((DB *, char *, DB_FH *, int, db_pgno_t *));
00248 int __db_verify_pp __P((DB *, const char *, const char *, FILE *, u_int32_t));
00249 int __db_verify_internal __P((DB *, const char *, const char *, void *, int (*)(void *, const void *), u_int32_t));
00250 int __db_vrfy_common __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
00251 int __db_vrfy_datapage __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
00252 int __db_vrfy_meta __P((DB *, VRFY_DBINFO *, DBMETA *, db_pgno_t, u_int32_t));
00253 void __db_vrfy_struct_feedback __P((DB *, VRFY_DBINFO *));
00254 int __db_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, PAGE *, void *, int (*)(void *, const void *), u_int32_t));
00255 int __db_vrfy_inpitem __P((DB *, PAGE *, db_pgno_t, u_int32_t, int, u_int32_t, u_int32_t *, u_int32_t *));
00256 int __db_vrfy_duptype __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t));
00257 int __db_salvage_duptree __P((DB *, VRFY_DBINFO *, db_pgno_t, DBT *, void *, int (*)(void *, const void *), u_int32_t));
00258 int __db_vrfy_dbinfo_create __P((DB_ENV *, u_int32_t, VRFY_DBINFO **));
00259 int __db_vrfy_dbinfo_destroy __P((DB_ENV *, VRFY_DBINFO *));
00260 int __db_vrfy_getpageinfo __P((VRFY_DBINFO *, db_pgno_t, VRFY_PAGEINFO **));
00261 int __db_vrfy_putpageinfo __P((DB_ENV *, VRFY_DBINFO *, VRFY_PAGEINFO *));
00262 int __db_vrfy_pgset __P((DB_ENV *, u_int32_t, DB **));
00263 int __db_vrfy_pgset_get __P((DB *, db_pgno_t, int *));
00264 int __db_vrfy_pgset_inc __P((DB *, db_pgno_t));
00265 int __db_vrfy_pgset_next __P((DBC *, db_pgno_t *));
00266 int __db_vrfy_childcursor __P((VRFY_DBINFO *, DBC **));
00267 int __db_vrfy_childput __P((VRFY_DBINFO *, db_pgno_t, VRFY_CHILDINFO *));
00268 int __db_vrfy_ccset __P((DBC *, db_pgno_t, VRFY_CHILDINFO **));
00269 int __db_vrfy_ccnext __P((DBC *, VRFY_CHILDINFO **));
00270 int __db_vrfy_ccclose __P((DBC *));
00271 int __db_salvage_init __P((VRFY_DBINFO *));
00272 void __db_salvage_destroy __P((VRFY_DBINFO *));
00273 int __db_salvage_getnext __P((VRFY_DBINFO *, DBC **, db_pgno_t *, u_int32_t *, int));
00274 int __db_salvage_isdone __P((VRFY_DBINFO *, db_pgno_t));
00275 int __db_salvage_markdone __P((VRFY_DBINFO *, db_pgno_t));
00276 int __db_salvage_markneeded __P((VRFY_DBINFO *, db_pgno_t, u_int32_t));
00277 int __db_vrfy_prdbt __P((DBT *, int, const char *, void *, int (*)(void *, const void *), int, VRFY_DBINFO *));
00278
00279 #if defined(__cplusplus)
00280 }
00281 #endif
00282 #endif