1/*	$NetBSD: namespace.h,v 1.1 2010/07/26 15:56:45 pooka Exp $	*/
2
3/*-
4 * Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 *    notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 *    notice, this list of conditions and the following disclaimer in the
14 *    documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef _NAMESPACE_H_
30#define _NAMESPACE_H_
31
32#include <sys/cdefs.h>
33
34/* rpc locks */
35#define authdes_lock		__rpc_authdes_lock
36#define authnone_lock		__rpc_authnone_lock
37#define authsvc_lock		__rpc_authsvc_lock
38#define clnt_fd_lock		__rpc_clnt_fd_lock
39#define clntraw_lock		__rpc_clntraw_lock
40#define dname_lock		__rpc_dname_lock
41#define dupreq_lock		__rpc_dupreq_lock
42#define keyserv_lock		__rpc_keyserv_lock
43#define libnsl_trace_lock	__rpc_libnsl_trace_lock
44#define loopnconf_lock		__rpc_loopnconf_lock
45#define ops_lock		__rpc_ops_lock
46#define portnum_lock		__rpc_portnum_lock
47#define proglst_lock		__rpc_proglst_lock
48#define rpcbaddr_cache_lock	__rpc_rpcbaddr_cache_lock
49#define rpcsoc_lock		__rpc_rpcsoc_lock
50#define svc_fd_lock		__rpc_svc_fd_lock
51#define svc_lock		__rpc_svc_lock
52#define svcraw_lock		__rpc_svcraw_lock
53#define xprtlist_lock		__rpc_xprtlist_lock
54
55/* NFS server stuff */
56#define svc_dg_create		_svc_dg_create
57
58#define rpc_broadcast		_rpc_broadcast
59#define rpc_broadcast_exp	_rpc_broadcast_exp
60
61#define svc_fd_create		_svc_fd_create
62#define svc_vc_create		_svc_vc_create
63#define svc_getreq              _svc_getreq
64#define svc_getreqset           _svc_getreqset
65#define svc_getreq_common       _svc_getreq_common
66#define svc_register            _svc_register
67#define svc_reg                 _svc_reg
68#define svc_unreg               _svc_unreg
69#define svc_sendreply           _svc_sendreply
70#define svc_unregister          _svc_unregister
71#define svcerr_auth             _svcerr_auth
72#define svcerr_decode           _svcerr_decode
73#define svcerr_noproc           _svcerr_noproc
74#define svcerr_noprog           _svcerr_noprog
75#define svcerr_progvers         _svcerr_progvers
76#define svcerr_systemerr        _svcerr_systemerr
77#define svcerr_weakauth         _svcerr_weakauth
78#define xprt_register           _xprt_register
79#define xprt_unregister         _xprt_unregister
80#define rpc_control             _rpc_control
81
82#define taddr2uaddr		_taddr2uaddr
83#define uaddr2taddr		_uaddr2taddr
84
85#define rpcb_set		_rpcb_set
86#define rpcb_unset		_rpcb_unset
87#define rpcb_getmaps		_rpcb_getmaps
88#define rpcb_taddr2uaddr	_rpcb_taddr2uaddr
89#define rpcb_uaddr2taddr	_rpcb_uaddr2taddr
90
91#endif /* _NAMESPACE_H_ */
92