1*209f6eb5Schristos /* $NetBSD: pmap_clnt.h,v 1.2 2009/01/11 03:56:22 christos Exp $ */ 2*209f6eb5Schristos 3*209f6eb5Schristos /*- 4*209f6eb5Schristos * Copyright (c) 2008 The NetBSD Foundation, Inc. 5*209f6eb5Schristos * All rights reserved. 6*209f6eb5Schristos * 7*209f6eb5Schristos * This code is derived from software contributed to The NetBSD Foundation 8*209f6eb5Schristos * by Christos Zoulas. 9*209f6eb5Schristos * 10*209f6eb5Schristos * Redistribution and use in source and binary forms, with or without 11*209f6eb5Schristos * modification, are permitted provided that the following conditions 12*209f6eb5Schristos * are met: 13*209f6eb5Schristos * 1. Redistributions of source code must retain the above copyright 14*209f6eb5Schristos * notice, this list of conditions and the following disclaimer. 15*209f6eb5Schristos * 2. Redistributions in binary form must reproduce the above copyright 16*209f6eb5Schristos * notice, this list of conditions and the following disclaimer in the 17*209f6eb5Schristos * documentation and/or other materials provided with the distribution. 18*209f6eb5Schristos * 3. All advertising materials mentioning features or use of this software 19*209f6eb5Schristos * must display the following acknowledgement: 20*209f6eb5Schristos * This product includes software developed by the NetBSD 21*209f6eb5Schristos * Foundation, Inc. and its contributors. 22*209f6eb5Schristos * 4. Neither the name of The NetBSD Foundation nor the names of its 23*209f6eb5Schristos * contributors may be used to endorse or promote products derived 24*209f6eb5Schristos * from this software without specific prior written permission. 25*209f6eb5Schristos * 26*209f6eb5Schristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27*209f6eb5Schristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28*209f6eb5Schristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29*209f6eb5Schristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 30*209f6eb5Schristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31*209f6eb5Schristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32*209f6eb5Schristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33*209f6eb5Schristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34*209f6eb5Schristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35*209f6eb5Schristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36*209f6eb5Schristos * POSSIBILITY OF SUCH DAMAGE. 37*209f6eb5Schristos */ 38*209f6eb5Schristos 39*209f6eb5Schristos #ifndef _COMPAT_RPC_PMAP_CLNT_H_ 40*209f6eb5Schristos #define _COMPAT_RPC_PMAP_CLNT_H_ 41*209f6eb5Schristos #include <sys/cdefs.h> 42*209f6eb5Schristos 43*209f6eb5Schristos __BEGIN_DECLS 44*209f6eb5Schristos extern enum clnt_stat pmap_rmtcall(struct sockaddr_in *, 45*209f6eb5Schristos u_long, u_long, u_long, xdrproc_t, caddr_t, xdrproc_t, caddr_t, 46*209f6eb5Schristos struct timeval50, u_long *); 47*209f6eb5Schristos extern enum clnt_stat __pmap_rmtcall50(struct sockaddr_in *, 48*209f6eb5Schristos u_long, u_long, u_long, xdrproc_t, caddr_t, xdrproc_t, caddr_t, 49*209f6eb5Schristos struct timeval, u_long *); 50*209f6eb5Schristos __END_DECLS 51*209f6eb5Schristos 52*209f6eb5Schristos #endif /* !_RPC_PMAP_CLNT_H_ */ 53