00001 /* DO NOT EDIT: automatically built by dist/distrib. */ 00002 #ifndef _btree_ext_h_ 00003 #define _btree_ext_h_ 00004 #if defined(__cplusplus) 00005 extern "C" { 00006 #endif 00007 int CDB___bam_cmp __P((DB *, const DBT *, 00008 PAGE *, u_int32_t, int (*)(const DBT *, const DBT *), int *)); 00009 int CDB___bam_defcmp __P((const DBT *, const DBT *)); 00010 size_t CDB___bam_defpfx __P((const DBT *, const DBT *)); 00011 int CDB___bam_pgin __P((DB_ENV *, db_pgno_t, void *, DBT *)); 00012 int CDB___bam_pgout __P((DB_ENV *, db_pgno_t, void *, DBT *)); 00013 int CDB___bam_mswap __P((PAGE *)); 00014 void CDB___bam_cprint __P((DBC *)); 00015 int CDB___bam_ca_delete __P((DB *, db_pgno_t, u_int32_t, int)); 00016 int CDB___ram_ca_delete __P((DB *, db_pgno_t)); 00017 void CDB___bam_ca_di __P((DB *, db_pgno_t, u_int32_t, int)); 00018 int CDB___bam_ca_dup __P((DB *, 00019 db_pgno_t, u_int32_t, u_int32_t, db_pgno_t, u_int32_t)); 00020 void CDB___bam_ca_rsplit __P((DB *, db_pgno_t, db_pgno_t)); 00021 void CDB___bam_ca_split __P((DB *, 00022 db_pgno_t, db_pgno_t, db_pgno_t, u_int32_t, int)); 00023 int CDB___bam_c_init __P((DBC *, DBTYPE)); 00024 int CDB___bam_c_refresh __P((DBC *)); 00025 int CDB___bam_c_count __P((DBC *, db_recno_t *)); 00026 int CDB___bam_c_dup __P((DBC *, DBC *)); 00027 int CDB___bam_c_rget __P((DBC *, DBT *, u_int32_t)); 00028 int CDB___bam_delete __P((DB *, DB_TXN *, DBT *, u_int32_t)); 00029 int CDB___bam_ditem __P((DBC *, PAGE *, u_int32_t)); 00030 int CDB___bam_adjindx __P((DBC *, PAGE *, u_int32_t, u_int32_t, int)); 00031 int CDB___bam_dpages __P((DBC *, EPG *)); 00032 int CDB___bam_db_create __P((DB *)); 00033 int CDB___bam_db_close __P((DB *)); 00034 int CDB___bam_set_flags __P((DB *, u_int32_t *flagsp)); 00035 int CDB___ram_set_flags __P((DB *, u_int32_t *flagsp)); 00036 int CDB___bam_open __P((DB *, const char *, db_pgno_t, u_int32_t)); 00037 int CDB___bam_metachk __P((DB *, const char *, BTMETA *)); 00038 int CDB___bam_read_root __P((DB *, const char *, db_pgno_t, u_int32_t)); 00039 int CDB___bam_iitem __P((DBC *, DBT *, DBT *, u_int32_t, u_int32_t)); 00040 u_int32_t CDB___bam_partsize __P((u_int32_t, DBT *, PAGE *, u_int32_t)); 00041 int CDB___bam_build __P((DBC *, u_int32_t, 00042 DBT *, PAGE *, u_int32_t, u_int32_t)); 00043 int CDB___bam_ritem __P((DBC *, PAGE *, u_int32_t, DBT *)); 00044 int CDB___bam_pg_alloc_recover 00045 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00046 int CDB___bam_pg_free_recover 00047 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00048 int CDB___bam_split_recover 00049 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00050 int CDB___bam_rsplit_recover 00051 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00052 int CDB___bam_adj_recover 00053 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00054 int CDB___bam_cadjust_recover 00055 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00056 int CDB___bam_cdel_recover 00057 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00058 int CDB___bam_repl_recover 00059 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00060 int CDB___bam_root_recover 00061 __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *)); 00062 int CDB___bam_reclaim __P((DB *, DB_TXN *)); 00063 int CDB___ram_open __P((DB *, const char *, db_pgno_t, u_int32_t)); 00064 int CDB___ram_c_del __P((DBC *)); 00065 int CDB___ram_c_get 00066 __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *)); 00067 int CDB___ram_c_put __P((DBC *, DBT *, DBT *, u_int32_t, db_pgno_t *)); 00068 int CDB___ram_getno __P((DBC *, const DBT *, db_recno_t *, int)); 00069 int CDB___ram_writeback __P((DB *)); 00070 int CDB___bam_rsearch __P((DBC *, db_recno_t *, u_int32_t, int, int *)); 00071 int CDB___bam_adjust __P((DBC *, int32_t)); 00072 int CDB___bam_nrecs __P((DBC *, db_recno_t *)); 00073 db_recno_t CDB___bam_total __P((PAGE *)); 00074 int CDB___bam_search __P((DBC *, 00075 const DBT *, u_int32_t, int, db_recno_t *, int *)); 00076 int CDB___bam_stkrel __P((DBC *, u_int32_t)); 00077 int CDB___bam_stkgrow __P((DB_ENV *, BTREE_CURSOR *)); 00078 int CDB___bam_split __P((DBC *, void *)); 00079 int CDB___bam_copy __P((DB *, PAGE *, PAGE *, u_int32_t, u_int32_t)); 00080 int CDB___bam_stat __P((DB *, void *, void *(*)(size_t), u_int32_t)); 00081 int CDB___bam_traverse __P((DBC *, db_lockmode_t, 00082 db_pgno_t, int (*)(DB *, PAGE *, void *, int *), void *)); 00083 int CDB___bam_stat_callback __P((DB *, PAGE *, void *, int *)); 00084 int CDB___bam_key_range __P((DB *, 00085 DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)); 00086 int CDB___bam_30_btreemeta __P((DB *, char *, u_int8_t *)); 00087 int CDB___bam_31_btreemeta 00088 __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 00089 int CDB___bam_31_lbtree 00090 __P((DB *, char *, u_int32_t, DB_FH *, PAGE *, int *)); 00091 int CDB___bam_vrfy_meta __P((DB *, VRFY_DBINFO *, BTMETA *, 00092 db_pgno_t, u_int32_t)); 00093 int CDB___ram_vrfy_leaf __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, 00094 u_int32_t)); 00095 int CDB___bam_vrfy __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, 00096 u_int32_t)); 00097 int CDB___bam_vrfy_itemorder __P((DB *, VRFY_DBINFO *, PAGE *, 00098 db_pgno_t, u_int32_t, int, int, u_int32_t)); 00099 int CDB___bam_vrfy_structure __P((DB *, VRFY_DBINFO *, db_pgno_t, 00100 u_int32_t)); 00101 int CDB___bam_vrfy_subtree __P((DB *, VRFY_DBINFO *, db_pgno_t, void *, 00102 void *, u_int32_t, u_int32_t *, u_int32_t *, u_int32_t *)); 00103 int CDB___bam_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t, 00104 PAGE *, void *, int (*)(void *, const void *), DBT *, 00105 u_int32_t)); 00106 int CDB___bam_salvage_walkdupint __P((DB *, VRFY_DBINFO *, PAGE *, 00107 DBT *, void *, int (*)(void *, const void *), u_int32_t)); 00108 int CDB___bam_meta2pgset __P((DB *, VRFY_DBINFO *, BTMETA *, 00109 u_int32_t, DB *)); 00110 #if defined(__cplusplus) 00111 } 00112 #endif 00113 #endif /* _btree_ext_h_ */