/*
* Copyright (c) 1980,1983,1988 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/*
* Structures returned by network data base library.
* All addresses are supplied in host order, and
* returned in network order (suitable for use in system calls).
*/
#ifndef _netdb_h
#define _netdb_h
/* from UCB 5.9 4/5/88 */
#pragma ident "%Z%%M% %I% %E% SMI"
struct hostent {
};
/*
* Assumption here is that a network number
* fits in 32 bits -- probably a poor one.
*/
struct netent {
};
struct servent {
};
struct protoent {
};
struct rpcent {
};
/*
* Error return codes from gethostbyname() and gethostbyaddr()
* (when using the resolver)
*/
extern int h_errno;
#endif /*!_netdb_h*/