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