<netdb.h>: include

(copyhostent, freehostent, getipnodebyname, getipnodebyaddr): add
prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6473 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-07-18 23:13:51 +00:00
parent 53396e4923
commit cbb144e9d9

View File

@@ -74,6 +74,9 @@
#ifdef HAVE_NETINET6_IN6_H
#include <netinet6/in6.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
@@ -394,6 +397,26 @@ extern const char *__progname;
extern char **environ;
#endif
#ifndef HAVE_GETIPNODEBYNAME
struct hostent *
getipnodebyname (const char *name, int af, int flags, int *error_num);
#endif
#ifndef HAVE_GETIPNODEBYADDR
struct hostent *
getipnodebyaddr (const void *src, size_t len, int af, int *error_num);
#endif
#ifndef HAVE_FREEHOSTENT
void
freehostent (struct hostent *h);
#endif
#ifndef HAVE_COPYHOSTENT
struct hostent *
copyhostent (const struct hostent *h);
#endif
/*
* kludges and such
*/