home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / mc454src.zip / mc-4.5.4.src / os2emx / rpc / pmap_rmt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-04  |  2.0 KB  |  70 lines

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