extern.h (1573) | extern.h (14272) |
---|---|
1/*- | 1/*- |
2 * Copyright (c) 1991, 1993 | 2 * Copyright (c) 1991, 1993, 1994 |
3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * @(#)extern.h 8.3 (Berkeley) 2/21/94 | 33 * @(#)extern.h 8.10 (Berkeley) 7/20/94 |
34 */ 35 36int __bt_close __P((DB *)); 37int __bt_cmp __P((BTREE *, const DBT *, EPG *)); 38int __bt_crsrdel __P((BTREE *, EPGNO *)); 39int __bt_defcmp __P((const DBT *, const DBT *)); 40size_t __bt_defpfx __P((const DBT *, const DBT *)); 41int __bt_delete __P((const DB *, const DBT *, u_int)); | 34 */ 35 36int __bt_close __P((DB *)); 37int __bt_cmp __P((BTREE *, const DBT *, EPG *)); 38int __bt_crsrdel __P((BTREE *, EPGNO *)); 39int __bt_defcmp __P((const DBT *, const DBT *)); 40size_t __bt_defpfx __P((const DBT *, const DBT *)); 41int __bt_delete __P((const DB *, const DBT *, u_int)); |
42int __bt_dleaf __P((BTREE *, PAGE *, int)); | 42int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int)); |
43int __bt_fd __P((const DB *)); | 43int __bt_fd __P((const DB *)); |
44EPG *__bt_first __P((BTREE *, const DBT *, int *)); | |
45int __bt_free __P((BTREE *, PAGE *)); 46int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); 47PAGE *__bt_new __P((BTREE *, pgno_t *)); 48void __bt_pgin __P((void *, pgno_t, void *)); 49void __bt_pgout __P((void *, pgno_t, void *)); 50int __bt_push __P((BTREE *, pgno_t, int)); 51int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); | 44int __bt_free __P((BTREE *, PAGE *)); 45int __bt_get __P((const DB *, const DBT *, DBT *, u_int)); 46PAGE *__bt_new __P((BTREE *, pgno_t *)); 47void __bt_pgin __P((void *, pgno_t, void *)); 48void __bt_pgout __P((void *, pgno_t, void *)); 49int __bt_push __P((BTREE *, pgno_t, int)); 50int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int)); |
52int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *)); | 51int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int)); |
53EPG *__bt_search __P((BTREE *, const DBT *, int *)); 54int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); | 52EPG *__bt_search __P((BTREE *, const DBT *, int *)); 53int __bt_seq __P((const DB *, DBT *, DBT *, u_int)); |
54void __bt_setcur __P((BTREE *, pgno_t, u_int)); |
|
55int __bt_split __P((BTREE *, PAGE *, | 55int __bt_split __P((BTREE *, PAGE *, |
56 const DBT *, const DBT *, int, size_t, indx_t)); | 56 const DBT *, const DBT *, int, size_t, u_int32_t)); |
57int __bt_sync __P((const DB *, u_int)); 58 59int __ovfl_delete __P((BTREE *, void *)); | 57int __bt_sync __P((const DB *, u_int)); 58 59int __ovfl_delete __P((BTREE *, void *)); |
60int __ovfl_get __P((BTREE *, void *, size_t *, char **, size_t *)); | 60int __ovfl_get __P((BTREE *, void *, size_t *, void **, size_t *)); |
61int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); 62 63#ifdef DEBUG 64void __bt_dnpage __P((DB *, pgno_t)); 65void __bt_dpage __P((PAGE *)); 66void __bt_dump __P((DB *)); 67#endif 68#ifdef STATISTICS 69void __bt_stat __P((DB *)); 70#endif | 61int __ovfl_put __P((BTREE *, const DBT *, pgno_t *)); 62 63#ifdef DEBUG 64void __bt_dnpage __P((DB *, pgno_t)); 65void __bt_dpage __P((PAGE *)); 66void __bt_dump __P((DB *)); 67#endif 68#ifdef STATISTICS 69void __bt_stat __P((DB *)); 70#endif |