Path: blob/main/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/extern.h
34928 views
/*-1* Copyright (c) 1991, 1993, 19942* The Regents of the University of California. All rights reserved.3*4* Redistribution and use in source and binary forms, with or without5* modification, are permitted provided that the following conditions6* are met:7* 1. Redistributions of source code must retain the above copyright8* notice, this list of conditions and the following disclaimer.9* 2. Redistributions in binary form must reproduce the above copyright10* notice, this list of conditions and the following disclaimer in the11* documentation and/or other materials provided with the distribution.12* 3. All advertising materials mentioning features or use of this software13* must display the following acknowledgement:14* This product includes software developed by the University of15* California, Berkeley and its contributors.16* 4. Neither the name of the University nor the names of its contributors17* may be used to endorse or promote products derived from this software18* without specific prior written permission.19*20* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND21* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE22* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE23* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE24* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL25* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS26* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)27* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT28* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY29* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF30* SUCH DAMAGE.31*32* @(#)extern.h 8.11 (Berkeley) 1/9/9533*/3435#define __bt_close __kdb2_bt_close36#define __bt_cmp __kdb2_bt_cmp37#define __bt_crsrdel __kdb2_bt_crsrdel38#define __bt_defcmp __kdb2_bt_defcmp39#define __bt_defpfx __kdb2_bt_defpfx40#define __bt_delete __kdb2_bt_delete41#define __bt_dleaf __kdb2_bt_deleaf42#define __bt_fd __kdb2_bt_fd43#define __bt_free __kdb2_bt_free44#define __bt_get __kdb2_bt_get45#define __bt_new __kdb2_bt_new46#define __bt_pgin __kdb2_bt_pgin47#define __bt_pgout __kdb2_bt_pgout48#define __bt_push __kdb2_bt_push49#define __bt_put __kdb2_bt_put50#define __bt_ret __kdb2_bt_ret51#define __bt_search __kdb2_bt_search52#define __bt_seq __kdb2_bt_seq53#define __bt_setcur __kdb2_bt_setcur54#define __bt_split __kdb2_bt_split55#define __bt_sync __kdb2_bt_sync56#define __ovfl_delete __kdb2_ovfl_delete57#define __ovfl_get __kdb2_ovfl_get58#define __ovfl_put __kdb2_ovfl_put59#define __bt_dnpage __kdb2_bt_dnpage60#define __bt_dmpage __kdb2_bt_dmpage61#define __bt_dpage __kdb2_bt_dpage62#define __bt_dump __kdb2_bt_dump63#define __bt_stat __kdb2_bt_stat64#define __bt_relink __kdb2_bt_relink6566int __bt_close __P((DB *));67int __bt_cmp __P((BTREE *, const DBT *, EPG *));68int __bt_crsrdel __P((BTREE *, EPGNO *));69int __bt_defcmp __P((const DBT *, const DBT *));70size_t __bt_defpfx __P((const DBT *, const DBT *));71int __bt_delete __P((const DB *, const DBT *, u_int));72int __bt_dleaf __P((BTREE *, const DBT *, PAGE *, u_int));73int __bt_fd __P((const DB *));74int __bt_free __P((BTREE *, PAGE *));75int __bt_get __P((const DB *, const DBT *, DBT *, u_int));76PAGE *__bt_new __P((BTREE *, db_pgno_t *));77void __bt_pgin __P((void *, db_pgno_t, void *));78void __bt_pgout __P((void *, db_pgno_t, void *));79int __bt_push __P((BTREE *, db_pgno_t, int));80int __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int));81int __bt_ret __P((BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int));82EPG *__bt_search __P((BTREE *, const DBT *, int *));83int __bt_seq __P((const DB *, DBT *, DBT *, u_int));84void __bt_setcur __P((BTREE *, db_pgno_t, u_int));85int __bt_split __P((BTREE *, PAGE *,86const DBT *, const DBT *, int, size_t, u_int32_t));87int __bt_sync __P((const DB *, u_int));8889int __ovfl_delete __P((BTREE *, void *));90int __ovfl_get __P((BTREE *, void *, size_t *, void **, size_t *));91int __ovfl_put __P((BTREE *, const DBT *, db_pgno_t *));9293int __bt_dnpage __P((DB *, db_pgno_t));94int __bt_dpage __P((DB *, PAGE *));95int __bt_dmpage __P((PAGE *));96int __bt_dump __P((DB *));9798int __bt_stat __P((DB *));99100int __bt_relink __P((BTREE *, PAGE *));101102103