1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22#pragma ident	"%Z%%M%	%I%	%E% SMI"
23
24/*
25 * Structures and XDR routines for parameters to and replies from
26 * the portmapper remote-call-service.
27 *
28 * Copyright (C) 1986, Sun Microsystems, Inc.
29 */
30
31#ifndef _rpc_pmap_rmt_h
32#define	_rpc_pmap_rmt_h
33
34struct rmtcallargs {
35	u_long prog, vers, proc, arglen;
36	caddr_t args_ptr;
37	xdrproc_t xdr_args;
38};
39
40bool_t xdr_rmtcall_args();
41
42struct rmtcallres {
43	u_long *port_ptr;
44	u_long resultslen;
45	caddr_t results_ptr;
46	xdrproc_t xdr_results;
47};
48
49bool_t xdr_rmtcallres();
50
51#endif /*!_rpc_pmap_rmt_h*/
52