pmap_rmt.h revision 240060
165205Scg/* $NetBSD: pmap_rmt.h,v 1.7 1998/02/11 23:01:23 lukem Exp $ */ 265205Scg 365205Scg/* 465205Scg * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 565205Scg * unrestricted use provided that this legend is included on all tape 665205Scg * media and as a part of the software program in whole or part. Users 765205Scg * may copy or modify Sun RPC without charge, but are not authorized 865205Scg * to license or distribute it to anyone else except as part of a product or 965205Scg * program developed by the user. 1065205Scg * 1165205Scg * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 1265205Scg * WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1365205Scg * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 1465205Scg * 1565205Scg * Sun RPC is provided with no support and without any obligation on the 1665205Scg * part of Sun Microsystems, Inc. to assist in its use, correction, 1765205Scg * modification or enhancement. 1865205Scg * 1965205Scg * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 2065205Scg * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 2165205Scg * OR ANY PART THEREOF. 2265205Scg * 2365205Scg * In no event will Sun Microsystems, Inc. be liable for any lost revenue 2465205Scg * or profits or other special, indirect and consequential damages, even if 2565205Scg * Sun has been advised of the possibility of such damages. 2665205Scg * 2765205Scg * Sun Microsystems, Inc. 2865205Scg * 2550 Garcia Avenue 2965205Scg * Mountain View, California 94043 3065205Scg * 3165205Scg * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI 3265205Scg * from: @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC 3365205Scg * $FreeBSD: head/include/rpc/pmap_rmt.h 240060 2012-09-02 21:04:40Z pfg $ 3465205Scg */ 3565205Scg 3665205Scg/* 3765205Scg * Structures and XDR routines for parameters to and replies from 3865205Scg * the portmapper remote-call-service. 3965205Scg * 4065205Scg * Copyright (C) 1986, Sun Microsystems, Inc. 4165205Scg */ 4265205Scg 4365205Scg#ifndef _RPC_PMAP_RMT_H 4465205Scg#define _RPC_PMAP_RMT_H 4565205Scg#include <sys/cdefs.h> 4665205Scg 4765205Scg#ifdef __cplusplus 4865205Scgextern "C" { 4965205Scg#endif 5065205Scg 5165205Scgstruct rmtcallargs { 5265205Scg u_long prog, vers, proc, arglen; 5365205Scg caddr_t args_ptr; 5465205Scg xdrproc_t xdr_args; 5565205Scg}; 5665205Scg 5765205Scgstruct rmtcallres { 5865205Scg u_long *port_ptr; 5965205Scg u_long resultslen; 6065205Scg caddr_t results_ptr; 6165205Scg xdrproc_t xdr_results; 6265205Scg}; 6365205Scg 6465205Scg__BEGIN_DECLS 6565205Scgextern bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *); 6665205Scgextern bool_t xdr_rmtcallres(XDR *, struct rmtcallres *); 6765205Scg__END_DECLS 6865205Scg 6965205Scg#ifdef __cplusplus 7065205Scg} 7165205Scg#endif 7265205Scg 7365205Scg#endif /* !_RPC_PMAP_RMT_H */ 7465205Scg