/*ident "@(#)cls4:incl-master/proto-headers/netdb.h 1.1" */ #usedby bsd2 bsd3 sunos3 sunos4 sunos4.1 alliant hpux2.0 hpux hpux8.0 svr4 sgi-svr4 solaris /******************************************************************************* C++ source for the C++ Language System, Release 3.0. This product is a new release of the original cfront developed in the computer science research center of AT&T Bell Laboratories. Copyright (c) 1991 AT&T and UNIX System Laboratories, Inc. Copyright (c) 1984, 1989, 1990 AT&T. All Rights Reserved. THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE of AT&T and UNIX System Laboratories, Inc. The copyright notice above does not evidence any actual or intended publication of such source code. *******************************************************************************/ #ifndef __NETDB_H #define __NETDB_H #hide getrpcent #hide gethostbyname #hide gethostbyaddr #hide gethostent #hide sethostent #hide endhostent #hide getnetbyname #hide getnetbyaddr #hide getnetent #hide setnetent #hide endnetent #hide getservbyname #hide getservbyport #hide getservent #hide setservent #hide endservent #hide getprotobyname #hide getprotobynumber #hide getprotoent #hide setprotoent #hide endprotoent #os sunos3 sunos4 sunos4.1 alliant hpux2.0 hpux hpux8.0 #hide getrpcbyname #hide getrpcbynumber #endos #expand netdb.h extern "C" { #os svr4 hostent* gethostbyname(char*); hostent* gethostbyaddr(char*, int, int); #endos #os bsd2 bsd3 sunos3 sunos4 sunos4.1 solaris alliant hpux2.0 hpux hpux8.0 sgi-svr4 hostent* gethostbyname(const char*); hostent* gethostbyaddr(const char*, int, int); #endos hostent* gethostent(); int sethostent(int); int endhostent(); netent* getnetbyname(const char*); #os bsd2 bsd3 sunos3 sunos4 sunos4.1 alliant svr4 sgi-svr4 solaris netent* getnetbyaddr(long, int); #endos #os hpux2.0 hpux hpux8.0 netent* getnetbyaddr(int, int); #endos netent* getnetent(); int setnetent(int); int endnetent(); servent* getservbyname(const char*, const char*); servent* getservbyport(int, const char*); servent* getservent(); int setservent(int); int endservent(); protoent* getprotobyname(const char*); protoent* getprotobynumber(int); protoent* getprotoent(); int setprotoent(int); int endprotoent(); #os sunos3 sunos4 sunos4.1 alliant hpux2.0 hpux hpux8.0 rpcent* getrpcent(); rpcent* getrpcbyname(const char *); rpcent* getrpcbynumber(int); int setrpcent(int); int endrpcent(); #endos } #endif