1*347f995cSyamt /* $NetBSD: pmap_rmt.h,v 1.9 2005/12/03 15:16:19 yamt Exp $ */ 24d2cbfceScgd 3e63190e8Sderaadt /* 4e63190e8Sderaadt * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 5e63190e8Sderaadt * unrestricted use provided that this legend is included on all tape 6e63190e8Sderaadt * media and as a part of the software program in whole or part. Users 7e63190e8Sderaadt * may copy or modify Sun RPC without charge, but are not authorized 8e63190e8Sderaadt * to license or distribute it to anyone else except as part of a product or 9e63190e8Sderaadt * program developed by the user. 10e63190e8Sderaadt * 11e63190e8Sderaadt * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 12e63190e8Sderaadt * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 13e63190e8Sderaadt * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 14e63190e8Sderaadt * 15e63190e8Sderaadt * Sun RPC is provided with no support and without any obligation on the 16e63190e8Sderaadt * part of Sun Microsystems, Inc. to assist in its use, correction, 17e63190e8Sderaadt * modification or enhancement. 18e63190e8Sderaadt * 19e63190e8Sderaadt * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 20e63190e8Sderaadt * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 21e63190e8Sderaadt * OR ANY PART THEREOF. 22e63190e8Sderaadt * 23e63190e8Sderaadt * In no event will Sun Microsystems, Inc. be liable for any lost revenue 24e63190e8Sderaadt * or profits or other special, indirect and consequential damages, even if 25e63190e8Sderaadt * Sun has been advised of the possibility of such damages. 26e63190e8Sderaadt * 27e63190e8Sderaadt * Sun Microsystems, Inc. 28e63190e8Sderaadt * 2550 Garcia Avenue 29e63190e8Sderaadt * Mountain View, California 94043 30e9d867efSmycroft * 31e9d867efSmycroft * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI 324d2cbfceScgd * @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC 33e63190e8Sderaadt */ 34e63190e8Sderaadt 35e63190e8Sderaadt /* 36e63190e8Sderaadt * Structures and XDR routines for parameters to and replies from 37e63190e8Sderaadt * the portmapper remote-call-service. 38e63190e8Sderaadt * 39e63190e8Sderaadt * Copyright (C) 1986, Sun Microsystems, Inc. 40e63190e8Sderaadt */ 41e63190e8Sderaadt 423d7d6c33Sperry #ifndef _RPC_PMAP_RMT_H_ 433d7d6c33Sperry #define _RPC_PMAP_RMT_H_ 44e9d4dc6eSbrezak #include <sys/cdefs.h> 45e9d4dc6eSbrezak 46e63190e8Sderaadt struct rmtcallargs { 47423e29d2Slukem u_long prog, vers, proc, arglen; 48*347f995cSyamt const char *args_ptr; 49e63190e8Sderaadt xdrproc_t xdr_args; 50e63190e8Sderaadt }; 51e63190e8Sderaadt 52e63190e8Sderaadt struct rmtcallres { 53423e29d2Slukem u_long *port_ptr; 54423e29d2Slukem u_long resultslen; 55e63190e8Sderaadt caddr_t results_ptr; 56e63190e8Sderaadt xdrproc_t xdr_results; 57e63190e8Sderaadt }; 58e63190e8Sderaadt 59e9d4dc6eSbrezak __BEGIN_DECLS 6019b7469aSperry extern bool_t xdr_rmtcall_args (XDR *, struct rmtcallargs *); 6119b7469aSperry extern bool_t xdr_rmtcallres (XDR *, struct rmtcallres *); 62e9d4dc6eSbrezak __END_DECLS 63e9d4dc6eSbrezak 643d7d6c33Sperry #endif /* !_RPC_PMAP_RMT_H_ */ 65