150990Sbostic /*- 250990Sbostic * Copyright (c) 1991 The Regents of the University of California. 350990Sbostic * All rights reserved. 450990Sbostic * 550990Sbostic * %sccs.include.redist.c% 650990Sbostic * 7*58067Sbostic * @(#)extern.h 5.6 (Berkeley) 02/19/93 850990Sbostic */ 950990Sbostic 1050990Sbostic int __bt_close __P((DB *)); 1150990Sbostic int __bt_cmp __P((BTREE *, const DBT *, EPG *)); 1250990Sbostic int __bt_crsrdel __P((BTREE *, EPGNO *)); 1350990Sbostic int __bt_defcmp __P((const DBT *, const DBT *)); 1450990Sbostic int __bt_defpfx __P((const DBT *, const DBT *)); 1550990Sbostic int __bt_delete __P((const DB *, const DBT *, u_int)); 1650990Sbostic int __bt_dleaf __P((BTREE *, PAGE *, int)); 1751107Sbostic EPG *__bt_first __P((BTREE *, const DBT *, int *)); 1856491Sbostic int __bt_free __P((BTREE *, PAGE *)); 1951107Sbostic int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); 2056491Sbostic PAGE *__bt_new __P((BTREE *, pgno_t *)); 2150990Sbostic DB *__bt_open __P((const char *, int, int, const BTREEINFO *)); 2250990Sbostic void __bt_pgin __P((void *, pgno_t, void *)); 2350990Sbostic void __bt_pgout __P((void *, pgno_t, void *)); 2450990Sbostic int __bt_push __P((BTREE *, pgno_t, int)); 2556737Sbostic int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); 2650990Sbostic int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *)); 2750990Sbostic EPG *__bt_search __P((BTREE *, const DBT *, int *)); 2850990Sbostic int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); 2950990Sbostic int __bt_split __P((BTREE *, PAGE *, 30*58067Sbostic const DBT *, const DBT *, u_long, size_t, u_int)); 3150990Sbostic int __bt_sync __P((const DB *)); 3250990Sbostic 3350990Sbostic int __ovfl_delete __P((BTREE *, void *)); 3450990Sbostic int __ovfl_get __P((BTREE *, void *, size_t *, char **, size_t *)); 3550990Sbostic int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); 3650990Sbostic 3750990Sbostic #ifdef DEBUG 3856993Sbostic void __bt_dnpage __P((DB *, pgno_t)); 3950990Sbostic void __bt_dpage __P((PAGE *)); 4050990Sbostic void __bt_dump __P((DB *)); 4150990Sbostic #endif 4250990Sbostic #ifdef STATISTICS 4350990Sbostic void __bt_stat __P((DB *)); 4450990Sbostic #endif 45