Path: blob/main/crypto/krb5/src/plugins/kdb/db2/libdb2/recno/extern.h
34928 views
/*-1* Copyright (c) 1991, 19932* 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.3 (Berkeley) 6/4/9433*/3435#include "../btree/extern.h"3637#define __rec_close __kdb2_rec_close38#define __rec_delete __kdb2_rec_delete39#define __rec_dleaf __kdb2_rec_dleaf40#define __rec_fd __kdb2_rec_fd41#define __rec_fmap __kdb2_rec_fmap42#define __rec_fout __kdb2_rec_fout43#define __rec_fpipe __kdb2_rec_fpipe44#define __rec_get __kdb2_rec_get45#define __rec_iput __kdb2_rec_iput46#define __rec_put __kdb2_rec_put47#define __rec_ret __kdb2_rec_ret48#define __rec_search __kdb2_rec_search49#define __rec_seq __kdb2_rec_seq50#define __rec_sync __kdb2_rec_sync51#define __rec_vmap __kdb2_rec_vmap52#define __rec_vout __kdb2_rec_vout53#define __rec_vpipe __kdb2_rec_vpipe5455int __rec_close __P((DB *));56int __rec_delete __P((const DB *, const DBT *, u_int));57int __rec_dleaf __P((BTREE *, PAGE *, u_int32_t));58int __rec_fd __P((const DB *));59int __rec_fmap __P((BTREE *, recno_t));60int __rec_fout __P((BTREE *));61int __rec_fpipe __P((BTREE *, recno_t));62int __rec_get __P((const DB *, const DBT *, DBT *, u_int));63int __rec_iput __P((BTREE *, recno_t, const DBT *, u_int));64int __rec_put __P((const DB *dbp, DBT *, const DBT *, u_int));65int __rec_ret __P((BTREE *, EPG *, recno_t, DBT *, DBT *));66EPG *__rec_search __P((BTREE *, recno_t, enum SRCHOP));67int __rec_seq __P((const DB *, DBT *, DBT *, u_int));68int __rec_sync __P((const DB *, u_int));69int __rec_vmap __P((BTREE *, recno_t));70int __rec_vout __P((BTREE *));71int __rec_vpipe __P((BTREE *, recno_t));727374