pmap_rmt.h revision 8858
152419Sjulian/* 252419Sjulian * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3139823Simp * unrestricted use provided that this legend is included on all tape 4139823Simp * media and as a part of the software program in whole or part. Users 5139823Simp * may copy or modify Sun RPC without charge, but are not authorized 652419Sjulian * to license or distribute it to anyone else except as part of a product or 752419Sjulian * program developed by the user. 852419Sjulian * 952419Sjulian * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 1052419Sjulian * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 1152419Sjulian * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 1252419Sjulian * 1352419Sjulian * Sun RPC is provided with no support and without any obligation on the 1452419Sjulian * part of Sun Microsystems, Inc. to assist in its use, correction, 1552419Sjulian * modification or enhancement. 1652419Sjulian * 1752419Sjulian * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 1852419Sjulian * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 1952419Sjulian * OR ANY PART THEREOF. 2052419Sjulian * 2152419Sjulian * In no event will Sun Microsystems, Inc. be liable for any lost revenue 2252419Sjulian * or profits or other special, indirect and consequential damages, even if 2352419Sjulian * Sun has been advised of the possibility of such damages. 2452419Sjulian * 2552419Sjulian * Sun Microsystems, Inc. 2652419Sjulian * 2550 Garcia Avenue 2752419Sjulian * Mountain View, California 94043 2852419Sjulian * 2952419Sjulian * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI 3052419Sjulian * from: @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC 3152419Sjulian * $Id: pmap_rmt.h,v 1.2 1994/08/07 18:40:57 wollman Exp $ 3252419Sjulian */ 3352419Sjulian 3452419Sjulian/* 3552419Sjulian * Structures and XDR routines for parameters to and replies from 3652419Sjulian * the portmapper remote-call-service. 3752419Sjulian * 3867506Sjulian * Copyright (C) 1986, Sun Microsystems, Inc. 3952419Sjulian */ 4052419Sjulian 4152752Sjulian#ifndef _RPC_PMAPRMT_H 4252419Sjulian#define _RPC_PMAPRMT_H 4352419Sjulian#include <sys/cdefs.h> 4452419Sjulian 4552419Sjulianstruct rmtcallargs { 4652419Sjulian u_long prog, vers, proc, arglen; 4752419Sjulian caddr_t args_ptr; 4852419Sjulian xdrproc_t xdr_args; 4952419Sjulian}; 5052419Sjulian 5152419Sjulianstruct rmtcallres { 5252419Sjulian u_long *port_ptr; 5352419Sjulian u_long resultslen; 5452419Sjulian caddr_t results_ptr; 5552419Sjulian xdrproc_t xdr_results; 5652419Sjulian}; 5752419Sjulian 5852419Sjulian__BEGIN_DECLS 5952419Sjulianextern bool_t xdr_rmtcall_args __P((XDR *, struct rmtcallargs *)); 6052419Sjulianextern bool_t xdr_rmtcallres __P((XDR *, struct rmtcallres *)); 6152419Sjulian__END_DECLS 6252419Sjulian 6352419Sjulian#endif /* !_RPC_PMAPRMT_H */ 6452419Sjulian