xref: /csrg-svn/lib/libc/db/btree/extern.h (revision 60261)
150990Sbostic /*-
250990Sbostic  * Copyright (c) 1991 The Regents of the University of California.
350990Sbostic  * All rights reserved.
450990Sbostic  *
550990Sbostic  * %sccs.include.redist.c%
650990Sbostic  *
7*60261Sbostic  *	@(#)extern.h	5.8 (Berkeley) 05/24/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));
17*60261Sbostic 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 DB	*__bt_open __P((const char *, int, int, const BTREEINFO *));
2350990Sbostic void	 __bt_pgin __P((void *, pgno_t, void *));
2450990Sbostic void	 __bt_pgout __P((void *, pgno_t, void *));
2550990Sbostic int	 __bt_push __P((BTREE *, pgno_t, int));
2656737Sbostic int	 __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int));
2750990Sbostic int	 __bt_ret __P((BTREE *, EPG *, DBT *, DBT *));
2850990Sbostic EPG	*__bt_search __P((BTREE *, const DBT *, int *));
2950990Sbostic int	 __bt_seq __P((const DB *, DBT *, DBT *, u_int));
3050990Sbostic int	 __bt_split __P((BTREE *, PAGE *,
3158067Sbostic 	    const DBT *, const DBT *, u_long, size_t, u_int));
3260045Sbostic int	 __bt_sync __P((const DB *, u_int));
3350990Sbostic 
3450990Sbostic int	 __ovfl_delete __P((BTREE *, void *));
3550990Sbostic int	 __ovfl_get __P((BTREE *, void *, size_t *, char **, size_t *));
3650990Sbostic int	 __ovfl_put __P((BTREE *, const DBT *, pgno_t *));
3750990Sbostic 
3850990Sbostic #ifdef DEBUG
3956993Sbostic void	 __bt_dnpage __P((DB *, pgno_t));
4050990Sbostic void	 __bt_dpage __P((PAGE *));
4150990Sbostic void	 __bt_dump __P((DB *));
4250990Sbostic #endif
4350990Sbostic #ifdef STATISTICS
4450990Sbostic void	 __bt_stat __P((DB *));
4550990Sbostic #endif
46