xref: /csrg-svn/lib/libc/db/btree/extern.h (revision 66192)
150990Sbostic /*-
261198Sbostic  * Copyright (c) 1991, 1993
361198Sbostic  *	The Regents of the University of California.  All rights reserved.
450990Sbostic  *
550990Sbostic  * %sccs.include.redist.c%
650990Sbostic  *
7*66192Sbostic  *	@(#)extern.h	8.3 (Berkeley) 02/21/94
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 *));
14*66192Sbostic size_t	 __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));
1760261Sbostic int	 __bt_fd __P((const DB *));
1851107Sbostic EPG	*__bt_first __P((BTREE *, const DBT *, int *));
1956491Sbostic int	 __bt_free __P((BTREE *, PAGE *));
2051107Sbostic int	 __bt_get __P((const DB *, const DBT *, DBT *, u_int));
2156491Sbostic PAGE	*__bt_new __P((BTREE *, pgno_t *));
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*66192Sbostic 	    const DBT *, const DBT *, int, size_t, indx_t));
3160045Sbostic int	 __bt_sync __P((const DB *, u_int));
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