xref: /csrg-svn/lib/libc/db/btree/extern.h (revision 51107)
150990Sbostic /*-
250990Sbostic  * Copyright (c) 1991 The Regents of the University of California.
350990Sbostic  * All rights reserved.
450990Sbostic  *
550990Sbostic  * %sccs.include.redist.c%
650990Sbostic  *
7*51107Sbostic  *	@(#)extern.h	5.2 (Berkeley) 09/12/91
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));
17*51107Sbostic EPG	*__bt_first __P((BTREE *, const DBT *, int *));
18*51107Sbostic int	 __bt_get __P((const DB *, const DBT *, DBT *, u_int));
1950990Sbostic DB	*__bt_open __P((const char *, int, int, const BTREEINFO *));
2050990Sbostic void	 __bt_pgin __P((void *, pgno_t, void *));
2150990Sbostic void	 __bt_pgout __P((void *, pgno_t, void *));
2250990Sbostic int	 __bt_push __P((BTREE *, pgno_t, int));
2350990Sbostic int	 __bt_put __P((const DB *dbp, const DBT *, const DBT *, u_int));
2450990Sbostic int	 __bt_ret __P((BTREE *, EPG *, DBT *, DBT *));
2550990Sbostic EPG	*__bt_search __P((BTREE *, const DBT *, int *));
2650990Sbostic int	 __bt_seq __P((const DB *, DBT *, DBT *, u_int));
2750990Sbostic int	 __bt_split __P((BTREE *, PAGE *,
2850990Sbostic 	    const DBT *, const DBT *, u_long, size_t, int));
2950990Sbostic int	 __bt_sync __P((const DB *));
3050990Sbostic 
3150990Sbostic int	 __ovfl_delete __P((BTREE *, void *));
3250990Sbostic int	 __ovfl_get __P((BTREE *, void *, size_t *, char **, size_t *));
3350990Sbostic int	 __ovfl_put __P((BTREE *, const DBT *, pgno_t *));
3450990Sbostic 
3550990Sbostic #ifdef DEBUG
3650990Sbostic void	 __bt_dpage __P((PAGE *));
3750990Sbostic void	 __bt_dump __P((DB *));
3850990Sbostic #endif
3950990Sbostic #ifdef STATISTICS
4050990Sbostic void	 __bt_stat __P((DB *));
4150990Sbostic #endif
42