From 6f57cb4a52ff6dfa4a8b3b489e8e0a8fb03f917c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 6 Mar 2009 16:31:26 +0000 Subject: * cygwin.din: Export gethostbyname2. * net.cc: define _CYGWIN_IN_H and include resolv.h. (realloc_ent): New function. (dup_ent): Call realloc_ent. (memcpy4to6): New function. (dn_length1): New function. (gethostby_helper): New function. (gethostbyname2): New function. * posix.sgml: Add gethostbyname2. * include/cygwin/version.h: Bump API minor number. * libc/minires.c (get_options): Look for "inet6" and apply bounds to "retry" and "retrans". (res_ninit): Set the default options at the beginning. (dn_expand): Fix "off by one". --- winsup/cygwin/cygwin.din | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/cygwin.din') diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index b55c9ce56..6977b5999 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -636,6 +636,7 @@ _getgroups = getgroups SIGFE _getgroups32 = getgroups32 SIGFE gethostbyaddr = cygwin_gethostbyaddr SIGFE gethostbyname = cygwin_gethostbyname SIGFE +gethostbyname2 SIGFE gethostid SIGFE gethostname = cygwin_gethostname SIGFE _gethostname = cygwin_gethostname SIGFE -- cgit v1.2.3