home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / rpc / h / netdb < prev    next >
Encoding:
Text File  |  1995-01-11  |  1.9 KB  |  56 lines

  1. /* -*-C-*-
  2.  *
  3.  * $Header: /ax/networking:include/rpc/netdb.h:networking  1.1  $
  4.  * $Source: /ax/networking:include/rpc/netdb.h: $
  5.  *
  6.  * Copyright (c) 1995 Acorn Computers Ltd., Cambridge, England
  7.  *
  8.  * $Log:    netdb.h,v $
  9.  * Revision 1.1  95/01/11  10:18:28  kwelton
  10.  * Initial revision
  11.  * 
  12.  */
  13.  
  14. /* @(#)netdb.h    2.1 88/07/29 3.9 RPCSRC */
  15. /*
  16.  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  17.  * unrestricted use provided that this legend is included on all tape
  18.  * media and as a part of the software program in whole or part.  Users
  19.  * may copy or modify Sun RPC without charge, but are not authorized
  20.  * to license or distribute it to anyone else except as part of a product or
  21.  * program developed by the user.
  22.  * 
  23.  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
  24.  * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  25.  * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
  26.  * 
  27.  * Sun RPC is provided with no support and without any obligation on the
  28.  * part of Sun Microsystems, Inc. to assist in its use, correction,
  29.  * modification or enhancement.
  30.  *
  31.  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
  32.  * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
  33.  * OR ANY PART THEREOF.
  34.  * 
  35.  * In no event will Sun Microsystems, Inc. be liable for any lost revenue
  36.  * or profits or other special, indirect and consequential damages, even if
  37.  * Sun has been advised of the possibility of such damages.
  38.  * 
  39.  * Sun Microsystems, Inc.
  40.  * 2550 Garcia Avenue
  41.  * Mountain View, California  94043
  42.  */
  43. /*    @(#)rpc.h 1.8 87/07/24 SMI    */
  44.  
  45. /* Really belongs in <netdb.h> */
  46.  
  47. struct rpcent {
  48.       char    *r_name;        /* name of server for this rpc program */
  49.       char    **r_aliases;    /* alias list */
  50.       int     r_number;       /* rpc program number */
  51. };
  52.  
  53. struct rpcent *getrpcbyname(), *getrpcbynumber(), *getrpcent();
  54.  
  55. /* EOF netdb.h */
  56.