1*0Sstevel@tonic-gate /* DO NOT EDIT: automatically built by dist/distrib. */ 2*0Sstevel@tonic-gate #ifndef _db_ext_h_ 3*0Sstevel@tonic-gate #define _db_ext_h_ 4*0Sstevel@tonic-gate int __db_close __P((DB *, u_int32_t)); 5*0Sstevel@tonic-gate int __db_init_wrapper __P((DB *)); 6*0Sstevel@tonic-gate int __db_cprint __P((DB *)); 7*0Sstevel@tonic-gate int __db_c_destroy __P((DBC *)); 8*0Sstevel@tonic-gate int __db_sync __P((DB *, u_int32_t)); 9*0Sstevel@tonic-gate int __db_addrem_log 10*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 11*0Sstevel@tonic-gate u_int32_t, u_int32_t, db_pgno_t, u_int32_t, 12*0Sstevel@tonic-gate size_t, const DBT *, const DBT *, DB_LSN *)); 13*0Sstevel@tonic-gate int __db_addrem_print 14*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 15*0Sstevel@tonic-gate int __db_addrem_read __P((void *, __db_addrem_args **)); 16*0Sstevel@tonic-gate int __db_split_log 17*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 18*0Sstevel@tonic-gate u_int32_t, u_int32_t, db_pgno_t, const DBT *, 19*0Sstevel@tonic-gate DB_LSN *)); 20*0Sstevel@tonic-gate int __db_split_print 21*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 22*0Sstevel@tonic-gate int __db_split_read __P((void *, __db_split_args **)); 23*0Sstevel@tonic-gate int __db_big_log 24*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 25*0Sstevel@tonic-gate u_int32_t, u_int32_t, db_pgno_t, db_pgno_t, 26*0Sstevel@tonic-gate db_pgno_t, const DBT *, DB_LSN *, DB_LSN *, 27*0Sstevel@tonic-gate DB_LSN *)); 28*0Sstevel@tonic-gate int __db_big_print 29*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 30*0Sstevel@tonic-gate int __db_big_read __P((void *, __db_big_args **)); 31*0Sstevel@tonic-gate int __db_ovref_log 32*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 33*0Sstevel@tonic-gate u_int32_t, db_pgno_t, int32_t, DB_LSN *)); 34*0Sstevel@tonic-gate int __db_ovref_print 35*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 36*0Sstevel@tonic-gate int __db_ovref_read __P((void *, __db_ovref_args **)); 37*0Sstevel@tonic-gate int __db_relink_log 38*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 39*0Sstevel@tonic-gate u_int32_t, u_int32_t, db_pgno_t, DB_LSN *, 40*0Sstevel@tonic-gate db_pgno_t, DB_LSN *, db_pgno_t, DB_LSN *)); 41*0Sstevel@tonic-gate int __db_relink_print 42*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 43*0Sstevel@tonic-gate int __db_relink_read __P((void *, __db_relink_args **)); 44*0Sstevel@tonic-gate int __db_addpage_log 45*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 46*0Sstevel@tonic-gate u_int32_t, db_pgno_t, DB_LSN *, db_pgno_t, 47*0Sstevel@tonic-gate DB_LSN *)); 48*0Sstevel@tonic-gate int __db_addpage_print 49*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 50*0Sstevel@tonic-gate int __db_addpage_read __P((void *, __db_addpage_args **)); 51*0Sstevel@tonic-gate int __db_debug_log 52*0Sstevel@tonic-gate __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t, 53*0Sstevel@tonic-gate const DBT *, u_int32_t, const DBT *, const DBT *, 54*0Sstevel@tonic-gate u_int32_t)); 55*0Sstevel@tonic-gate int __db_debug_print 56*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 57*0Sstevel@tonic-gate int __db_debug_read __P((void *, __db_debug_args **)); 58*0Sstevel@tonic-gate int __db_init_print __P((DB_ENV *)); 59*0Sstevel@tonic-gate int __db_init_recover __P((DB_ENV *)); 60*0Sstevel@tonic-gate int __db_pgin __P((db_pgno_t, size_t, void *)); 61*0Sstevel@tonic-gate int __db_pgout __P((db_pgno_t, size_t, void *)); 62*0Sstevel@tonic-gate int __db_dispatch __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 63*0Sstevel@tonic-gate int __db_add_recovery __P((DB_ENV *, 64*0Sstevel@tonic-gate int (*)(DB_LOG *, DBT *, DB_LSN *, int, void *), u_int32_t)); 65*0Sstevel@tonic-gate int __db_txnlist_init __P((void *)); 66*0Sstevel@tonic-gate int __db_txnlist_add __P((void *, u_int32_t)); 67*0Sstevel@tonic-gate int __db_txnlist_find __P((void *, u_int32_t)); 68*0Sstevel@tonic-gate void __db_txnlist_end __P((void *)); 69*0Sstevel@tonic-gate void __db_txnlist_gen __P((void *, int)); 70*0Sstevel@tonic-gate void __db_txnlist_print __P((void *)); 71*0Sstevel@tonic-gate int __db_dput __P((DBC *, DBT *, 72*0Sstevel@tonic-gate PAGE **, db_indx_t *, int (*)(DBC *, u_int32_t, PAGE **))); 73*0Sstevel@tonic-gate int __db_drem __P((DBC *, 74*0Sstevel@tonic-gate PAGE **, u_int32_t, int (*)(DBC *, PAGE *))); 75*0Sstevel@tonic-gate int __db_dend __P((DBC *, db_pgno_t, PAGE **)); 76*0Sstevel@tonic-gate int __db_ditem __P((DBC *, PAGE *, u_int32_t, u_int32_t)); 77*0Sstevel@tonic-gate int __db_pitem 78*0Sstevel@tonic-gate __P((DBC *, PAGE *, u_int32_t, u_int32_t, DBT *, DBT *)); 79*0Sstevel@tonic-gate int __db_relink __P((DBC *, u_int32_t, PAGE *, PAGE **, int)); 80*0Sstevel@tonic-gate int __db_ddup __P((DBC *, db_pgno_t, int (*)(DBC *, PAGE *))); 81*0Sstevel@tonic-gate int __db_dsearch __P((DBC *, 82*0Sstevel@tonic-gate int, DBT *, db_pgno_t, db_indx_t *, PAGE **, int *)); 83*0Sstevel@tonic-gate int __db_cdelchk __P((const DB *, u_int32_t, int, int)); 84*0Sstevel@tonic-gate int __db_cgetchk __P((const DB *, DBT *, DBT *, u_int32_t, int)); 85*0Sstevel@tonic-gate int __db_cputchk __P((const DB *, 86*0Sstevel@tonic-gate const DBT *, DBT *, u_int32_t, int, int)); 87*0Sstevel@tonic-gate int __db_closechk __P((const DB *, u_int32_t)); 88*0Sstevel@tonic-gate int __db_delchk __P((const DB *, DBT *, u_int32_t, int)); 89*0Sstevel@tonic-gate int __db_getchk __P((const DB *, const DBT *, DBT *, u_int32_t)); 90*0Sstevel@tonic-gate int __db_joinchk __P((const DB *, u_int32_t)); 91*0Sstevel@tonic-gate int __db_putchk 92*0Sstevel@tonic-gate __P((const DB *, DBT *, const DBT *, u_int32_t, int, int)); 93*0Sstevel@tonic-gate int __db_statchk __P((const DB *, u_int32_t)); 94*0Sstevel@tonic-gate int __db_syncchk __P((const DB *, u_int32_t)); 95*0Sstevel@tonic-gate int __db_eopnotsup __P((const DB_ENV *)); 96*0Sstevel@tonic-gate int __db_join __P((DB *, DBC **, u_int32_t, DBC **)); 97*0Sstevel@tonic-gate int __db_goff __P((DB *, DBT *, 98*0Sstevel@tonic-gate u_int32_t, db_pgno_t, void **, u_int32_t *)); 99*0Sstevel@tonic-gate int __db_poff __P((DBC *, const DBT *, db_pgno_t *, 100*0Sstevel@tonic-gate int (*)(DBC *, u_int32_t, PAGE **))); 101*0Sstevel@tonic-gate int __db_ovref __P((DBC *, db_pgno_t, int32_t)); 102*0Sstevel@tonic-gate int __db_doff __P((DBC *, db_pgno_t, int (*)(DBC *, PAGE *))); 103*0Sstevel@tonic-gate int __db_moff __P((DB *, const DBT *, db_pgno_t, u_int32_t, 104*0Sstevel@tonic-gate int (*)(const DBT *, const DBT *), int *)); 105*0Sstevel@tonic-gate void __db_loadme __P((void)); 106*0Sstevel@tonic-gate FILE *__db_prinit __P((FILE *)); 107*0Sstevel@tonic-gate int __db_dump __P((DB *, char *, int)); 108*0Sstevel@tonic-gate int __db_prdb __P((DB *)); 109*0Sstevel@tonic-gate int __db_prbtree __P((DB *)); 110*0Sstevel@tonic-gate int __db_prhash __P((DB *)); 111*0Sstevel@tonic-gate int __db_prtree __P((DB_MPOOLFILE *, int)); 112*0Sstevel@tonic-gate int __db_prnpage __P((DB_MPOOLFILE *, db_pgno_t)); 113*0Sstevel@tonic-gate int __db_prpage __P((PAGE *, int)); 114*0Sstevel@tonic-gate int __db_isbad __P((PAGE *, int)); 115*0Sstevel@tonic-gate void __db_pr __P((u_int8_t *, u_int32_t)); 116*0Sstevel@tonic-gate int __db_prdbt __P((DBT *, int, FILE *)); 117*0Sstevel@tonic-gate void __db_prflags __P((u_int32_t, const FN *, FILE *)); 118*0Sstevel@tonic-gate int __db_addrem_recover 119*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 120*0Sstevel@tonic-gate int __db_split_recover __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 121*0Sstevel@tonic-gate int __db_big_recover __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 122*0Sstevel@tonic-gate int __db_ovref_recover __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 123*0Sstevel@tonic-gate int __db_relink_recover 124*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 125*0Sstevel@tonic-gate int __db_addpage_recover 126*0Sstevel@tonic-gate __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 127*0Sstevel@tonic-gate int __db_debug_recover __P((DB_LOG *, DBT *, DB_LSN *, int, void *)); 128*0Sstevel@tonic-gate int __db_ret __P((DB *, 129*0Sstevel@tonic-gate PAGE *, u_int32_t, DBT *, void **, u_int32_t *)); 130*0Sstevel@tonic-gate int __db_retcopy __P((DBT *, 131*0Sstevel@tonic-gate void *, u_int32_t, void **, u_int32_t *, void *(*)(size_t))); 132*0Sstevel@tonic-gate #endif /* _db_ext_h_ */ 133