home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / rpc / rpcent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.5 KB  |  55 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ident    "@(#)/usr/include/rpc/rpcent.h.sl 1.1 4.0 12/08/90 12482 AT&T-USL"
  11.  
  12. /*    @(#)rpcent.h 1.1 88/12/06 SMI    */
  13.  
  14. /*
  15.  *          PROPRIETARY NOTICE (Combined)
  16.  *  
  17.  *  This source code is unpublished proprietary information
  18.  *  constituting, or derived under license from AT&T's Unix(r) System V.
  19.  *  In addition, portions of such source code were derived from Berkeley
  20.  *  4.3 BSD under license from the Regents of the University of
  21.  *  California.
  22.  *  
  23.  *  
  24.  *  
  25.  *          Copyright Notice 
  26.  *  
  27.  *  Notice of copyright on this source code product does not indicate 
  28.  *  publication.
  29.  *  
  30.  *      (c) 1986,1987,1988,1989  Sun Microsystems, Inc.
  31.  *      (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  32.  *                All rights reserved.
  33.  */
  34.  
  35. /*
  36.  * rpcent.h,
  37.  * For converting rpc program numbers to names etc.
  38.  *
  39.  */
  40.  
  41. #ifndef _RPC_RPCENT_H
  42. #define _RPC_RPCENT_H
  43.  
  44. struct rpcent {
  45.     char    *r_name;    /* name of server for this rpc program */
  46.     char    **r_aliases;    /* alias list */
  47.     int    r_number;    /* rpc program number */
  48. };
  49.  
  50. extern struct rpcent *getrpcbyname(), *getrpcbynumber(), *getrpcent();
  51. extern int setrpcent();
  52. extern void endrpcent();
  53.  
  54. #endif /* _RPC_RPCENT_H */
  55.