home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tcp30tkt.zip / PGMG1.ZIP / INCLUDE / RPC / RPCNETDB.H < prev    next >
Text File  |  1995-12-04  |  991b  |  29 lines

  1. #ifndef __RPCNETDB_32H
  2. #define __RPCNETDB_32H
  3.  
  4. /*
  5.  * Copyright (c) 1980,1983,1988 Regents of the University of California.
  6.  * All rights reserved.
  7.  *
  8.  * Redistribution and use in source and binary forms are permitted
  9.  * provided that this notice is preserved and that due credit is given
  10.  * to the University of California at Berkeley. The name of the University
  11.  * may not be used to endorse or promote products derived from this
  12.  * software without specific prior written permission. This software
  13.  * is provided ``as is'' without express or implied warranty.
  14.  *
  15.  *      @(#)netdb.h         5.9(Berkeley) 4/5/88
  16.  */
  17.  
  18. struct rpcent {
  19.         char    *r_name;        /* name of server for this rpc program */
  20.         char    **r_aliases;    /* alias list */
  21.         u_long  r_number;       /* rpc program number */
  22. };
  23.  
  24. struct rpcent   *getrpcbyname(char *);
  25. struct rpcent   *getrpcbynumber(u_long);
  26. struct rpcent   *getrpcent(void);
  27.  
  28. #endif /* __RPCNETDB_32H */
  29.