summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-06 16:31:26 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-03-06 16:31:26 +0000
commit6f57cb4a52ff6dfa4a8b3b489e8e0a8fb03f917c (patch)
tree9d6c7de8a0e95f61c2e55f406cab817a2007d60d /winsup/cygwin/include
parent45e20e47bab7375b818f493a5b428c7bda7724fb (diff)
downloadcygnal-6f57cb4a52ff6dfa4a8b3b489e8e0a8fb03f917c.tar.gz
cygnal-6f57cb4a52ff6dfa4a8b3b489e8e0a8fb03f917c.tar.bz2
cygnal-6f57cb4a52ff6dfa4a8b3b489e8e0a8fb03f917c.zip
* 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".
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index bbf98784f..b51ddb665 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -350,12 +350,13 @@ details. */
199: Export open_wmemstream.
200: Export mbsnrtowcs, wcsnrtombs.
201: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf, vswprintf.
+ 202: Export gethostbyname2.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 201
+#define CYGWIN_VERSION_API_MINOR 202
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible