/* $Id: stub.h,v 1.1 2003/06/04 00:27:13 marka Exp $ */
#ifndef STUB_H
#define STUB_H
#ifdef HAVE_GETHOSTBYNAME
extern struct hostent *
idn_stub_gethostbyname(const char *name);
#endif
#ifdef GETHOST_R_GLIBC_FLAVOR
#ifdef HAVE_GETHOSTBYNAME_R
extern int
#endif
#else /* GETHOST_R_GLIBC_FLAVOR */
#ifdef HAVE_GETHOSTBYNAME_R
extern struct hostent *
#endif
#endif /* GETHOST_R_GLIBC_FLAVOR */
#ifdef HAVE_GETHOSTBYNAME2
extern struct hostent *
#endif
#ifdef GETHOST_R_GLIBC_FLAVOR
#ifdef HAVE_GETHOSTBYNAME2_R
extern int
#endif
#endif /* GETHOST_R_GLIBC_FLAVOR */
#ifdef HAVE_GETHOSTBYADDR
extern struct hostent *
#endif
#ifdef GETHOST_R_GLIBC_FLAVOR
#ifdef HAVE_GETHOSTBYADDR_R
extern int
#endif
#else /* GETHOST_R_GLIBC_FLAVOR */
#ifdef HAVE_GETHOSTBYADDR_R
extern struct hostent *
#endif
#endif /* GETHOST_R_GLIBC_FLAVOR */
#ifdef HAVE_GETIPNODEBYNAME
extern struct hostent *
#endif
#ifdef HAVE_GETIPNODEBYADDR
extern struct hostent *
#endif
#ifdef HAVE_FREEHOSTENT
extern void
#endif
#ifdef HAVE_GETADDRINFO
extern int
#endif
#ifdef HAVE_FREEADDRINFO
extern void
#endif
#ifdef HAVE_GETNAMEINFO
extern int
#endif
#endif /* STUB_H */