1*50990Sbostic /*- 2*50990Sbostic * Copyright (c) 1991 The Regents of the University of California. 3*50990Sbostic * All rights reserved. 4*50990Sbostic * 5*50990Sbostic * %sccs.include.redist.c% 6*50990Sbostic * 7*50990Sbostic * @(#)extern.h 5.1 (Berkeley) 09/04/91 8*50990Sbostic */ 9*50990Sbostic 10*50990Sbostic int __bt_close __P((DB *)); 11*50990Sbostic int __bt_cmp __P((BTREE *, const DBT *, EPG *)); 12*50990Sbostic int __bt_crsrdel __P((BTREE *, EPGNO *)); 13*50990Sbostic int __bt_defcmp __P((const DBT *, const DBT *)); 14*50990Sbostic int __bt_defpfx __P((const DBT *, const DBT *)); 15*50990Sbostic int __bt_delete __P((const DB *, const DBT *, u_int)); 16*50990Sbostic int __bt_dleaf __P((BTREE *, PAGE *, int)); 17*50990Sbostic EPG *__bt_first __P((BTREE *, DBT *, int *)); 18*50990Sbostic int __bt_get __P((const DB *, DBT *, DBT *, u_int)); 19*50990Sbostic DB *__bt_open __P((const char *, int, int, const BTREEINFO *)); 20*50990Sbostic void __bt_pgin __P((void *, pgno_t, void *)); 21*50990Sbostic void __bt_pgout __P((void *, pgno_t, void *)); 22*50990Sbostic int __bt_push __P((BTREE *, pgno_t, int)); 23*50990Sbostic int __bt_put __P((const DB *dbp, const DBT *, const DBT *, u_int)); 24*50990Sbostic int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *)); 25*50990Sbostic EPG *__bt_search __P((BTREE *, const DBT *, int *)); 26*50990Sbostic int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); 27*50990Sbostic int __bt_split __P((BTREE *, PAGE *, 28*50990Sbostic const DBT *, const DBT *, u_long, size_t, int)); 29*50990Sbostic int __bt_sync __P((const DB *)); 30*50990Sbostic 31*50990Sbostic int __ovfl_delete __P((BTREE *, void *)); 32*50990Sbostic int __ovfl_get __P((BTREE *, void *, size_t *, char **, size_t *)); 33*50990Sbostic int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); 34*50990Sbostic 35*50990Sbostic int __rec_close __P((DB *)); 36*50990Sbostic int __rec_delete __P((const DB *, const DBT *, u_int)); 37*50990Sbostic int __rec_fmap __P((BTREE *, recno_t)); 38*50990Sbostic int __rec_fout __P((BTREE *)); 39*50990Sbostic int __rec_fpipe __P((BTREE *, recno_t)); 40*50990Sbostic int __rec_get __P((const DB *, DBT *, DBT *, u_int)); 41*50990Sbostic int __rec_iput __P((BTREE *, recno_t, const DBT *, u_int)); 42*50990Sbostic int __rec_put __P((const DB *dbp, const DBT *, const DBT *, u_int)); 43*50990Sbostic int __rec_ret __P((BTREE *, EPG *, DBT *)); 44*50990Sbostic EPG *__rec_search __P((BTREE *, recno_t, int *)); 45*50990Sbostic int __rec_seq __P((const DB *, DBT *, DBT *, u_int)); 46*50990Sbostic int __rec_sync __P((const DB *)); 47*50990Sbostic int __rec_vmap __P((BTREE *, recno_t)); 48*50990Sbostic int __rec_vout __P((BTREE *)); 49*50990Sbostic int __rec_vpipe __P((BTREE *, recno_t)); 50*50990Sbostic 51*50990Sbostic #ifdef DEBUG 52*50990Sbostic void __bt_dpage __P((PAGE *)); 53*50990Sbostic void __bt_dump __P((DB *)); 54*50990Sbostic #endif 55*50990Sbostic #ifdef STATISTICS 56*50990Sbostic void __bt_stat __P((DB *)); 57*50990Sbostic #endif 58