/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* onc720 src/oncplus/usr/include/tirpc/rpc/pmap_rmt.h 1.2                */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1996,1999              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/*
 * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc.
 */

#ifndef _RPC_PMAPRMT_H
#define	_RPC_PMAPRMT_H

/* #pragma ident	"@(#)pmap_rmt.h	1.10	93/11/12 SMI" */

/*	@(#)pmap_rmt.h 1.8 89/03/21 SMI	*/


#include <rpc/pmap_prot.h>


#ifdef __cplusplus
extern "C" {
#endif

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

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


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

#endif

bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *);

bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *);

#ifdef __cplusplus
}
#endif

#endif	/* _RPC_PMAPRMT_H */
