/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	pmap_rmt.h,v $
 * Revision 1.1.2.2  92/02/26  15:45:49  Charles_Briggs
 * 	From ONC reference port.
 * 	[92/02/21  08:46:40  Charles_Briggs]
 * 
 * $EndLog$
 */
/*
 * @(#)$RCSfile: pmap_rmt.h,v $ $Revision: 1.1.2.2 $ (DEC) $Date: 92/02/26 15:45:49 $
 */
/*	@(#)pmap_rmt.h	1.2 90/07/17 4.1NFSSRC SMI	*/

/* 
 * Copyright (c) 1990 by Sun Microsystems, Inc.
 *	1.2 88/02/08 SMI	
 */


/*
 * Structures and XDR routines for parameters to and replies from
 * the portmapper remote-call-service.
 */

#ifndef _rpc_pmap_rmt_h
#define	_rpc_pmap_rmt_h

struct rmtcallargs {
	u_long prog, vers, proc, arglen;
	caddr_t args_ptr;
	xdrproc_t xdr_args;
};

bool_t xdr_rmtcall_args();

struct rmtcallres {
	u_long *port_ptr;
	u_long resultslen;
	caddr_t results_ptr;
	xdrproc_t xdr_results;
};

bool_t xdr_rmtcallres();

#endif /*!_rpc_pmap_rmt_h*/
