1*45068Smckusick /* @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */ 2*45068Smckusick /* 3*45068Smckusick * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 4*45068Smckusick * unrestricted use provided that this legend is included on all tape 5*45068Smckusick * media and as a part of the software program in whole or part. Users 6*45068Smckusick * may copy or modify Sun RPC without charge, but are not authorized 7*45068Smckusick * to license or distribute it to anyone else except as part of a product or 8*45068Smckusick * program developed by the user. 9*45068Smckusick * 10*45068Smckusick * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 11*45068Smckusick * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 12*45068Smckusick * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 13*45068Smckusick * 14*45068Smckusick * Sun RPC is provided with no support and without any obligation on the 15*45068Smckusick * part of Sun Microsystems, Inc. to assist in its use, correction, 16*45068Smckusick * modification or enhancement. 17*45068Smckusick * 18*45068Smckusick * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 19*45068Smckusick * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 20*45068Smckusick * OR ANY PART THEREOF. 21*45068Smckusick * 22*45068Smckusick * In no event will Sun Microsystems, Inc. be liable for any lost revenue 23*45068Smckusick * or profits or other special, indirect and consequential damages, even if 24*45068Smckusick * Sun has been advised of the possibility of such damages. 25*45068Smckusick * 26*45068Smckusick * Sun Microsystems, Inc. 27*45068Smckusick * 2550 Garcia Avenue 28*45068Smckusick * Mountain View, California 94043 29*45068Smckusick */ 30*45068Smckusick 31*45068Smckusick /* 32*45068Smckusick * Structures and XDR routines for parameters to and replies from 33*45068Smckusick * the portmapper remote-call-service. 34*45068Smckusick * 35*45068Smckusick * Copyright (C) 1986, Sun Microsystems, Inc. 36*45068Smckusick */ 37*45068Smckusick 38*45068Smckusick struct rmtcallargs { 39*45068Smckusick u_long prog, vers, proc, arglen; 40*45068Smckusick caddr_t args_ptr; 41*45068Smckusick xdrproc_t xdr_args; 42*45068Smckusick }; 43*45068Smckusick 44*45068Smckusick bool_t xdr_rmtcall_args(); 45*45068Smckusick 46*45068Smckusick struct rmtcallres { 47*45068Smckusick u_long *port_ptr; 48*45068Smckusick u_long resultslen; 49*45068Smckusick caddr_t results_ptr; 50*45068Smckusick xdrproc_t xdr_results; 51*45068Smckusick }; 52*45068Smckusick 53*45068Smckusick bool_t xdr_rmtcallres(); 54