1 /* 2 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 3 * Use is subject to license terms. 4 */ 5 6 #ifndef _KRB5_DB2_RECNO_EXTERN_H 7 #define _KRB5_DB2_RECNO_EXTERN_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 14 /* 15 * Copyright (c) 1991, 1993 16 * The Regents of the University of California. All rights reserved. 17 * 18 * Redistribution and use in source and binary forms, with or without 19 * modification, are permitted provided that the following conditions 20 * are met: 21 * 1. Redistributions of source code must retain the above copyright 22 * notice, this list of conditions and the following disclaimer. 23 * 2. Redistributions in binary form must reproduce the above copyright 24 * notice, this list of conditions and the following disclaimer in the 25 * documentation and/or other materials provided with the distribution. 26 * 3. All advertising materials mentioning features or use of this software 27 * must display the following acknowledgement: 28 * This product includes software developed by the University of 29 * California, Berkeley and its contributors. 30 * 4. Neither the name of the University nor the names of its contributors 31 * may be used to endorse or promote products derived from this software 32 * without specific prior written permission. 33 * 34 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 35 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 36 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 37 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 38 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 42 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 43 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 44 * SUCH DAMAGE. 45 * 46 * @(#)extern.h 8.3 (Berkeley) 6/4/94 47 */ 48 49 #include "../btree/extern.h" 50 51 #define __rec_close __kdb2_rec_close 52 #define __rec_delete __kdb2_rec_delete 53 #define __rec_dleaf __kdb2_rec_dleaf 54 #define __rec_fd __kdb2_rec_fd 55 #define __rec_fmap __kdb2_rec_fmap 56 #define __rec_fout __kdb2_rec_fout 57 #define __rec_fpipe __kdb2_rec_fpipe 58 #define __rec_get __kdb2_rec_get 59 #define __rec_iput __kdb2_rec_iput 60 #define __rec_put __kdb2_rec_put 61 #define __rec_ret __kdb2_rec_ret 62 #define __rec_search __kdb2_rec_search 63 #define __rec_seq __kdb2_rec_seq 64 #define __rec_sync __kdb2_rec_sync 65 #define __rec_vmap __kdb2_rec_vmap 66 #define __rec_vout __kdb2_rec_vout 67 #define __rec_vpipe __kdb2_rec_vpipe 68 69 int __rec_close __P((DB *)); 70 int __rec_delete __P((const DB *, const DBT *, u_int)); 71 int __rec_dleaf __P((BTREE *, PAGE *, u_int32_t)); 72 int __rec_fd __P((const DB *)); 73 int __rec_fmap __P((BTREE *, recno_t)); 74 int __rec_fout __P((BTREE *)); 75 int __rec_fpipe __P((BTREE *, recno_t)); 76 int __rec_get __P((const DB *, const DBT *, DBT *, u_int)); 77 int __rec_iput __P((BTREE *, recno_t, const DBT *, u_int)); 78 int __rec_put __P((const DB *dbp, DBT *, const DBT *, u_int)); 79 int __rec_ret __P((BTREE *, EPG *, recno_t, DBT *, DBT *)); 80 EPG *__rec_search __P((BTREE *, recno_t, enum SRCHOP)); 81 int __rec_seq __P((const DB *, DBT *, DBT *, u_int)); 82 int __rec_sync __P((const DB *, u_int)); 83 int __rec_vmap __P((BTREE *, recno_t)); 84 int __rec_vout __P((BTREE *)); 85 int __rec_vpipe __P((BTREE *, recno_t)); 86 87 #ifdef __cplusplus 88 } 89 #endif 90 91 #endif /* !_KRB5_DB2_RECNO_EXTERN_H */ 92