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