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