newlib-cygwin/winsup/cygwin/include
Corinna Vinschen 5b56e9b02b * autoload.cc (IdnToAscii): Define.
(IdnToUnicode): Define.
	(FreeAddrInfoW): Define.
	(GetAddrInfoW): Define.
	(GetNameInfoW): Define.
	* net.cc: Drop W. Richard STEVENS libgai implementation.
	(cygwin_freeaddrinfo): Move code from ipv4_freeaddrinfo here.  Move
	definition up in file to avoid forward declaration in ga_duplist.
	(ga_dup): Take addrinfoW as input.  Add parameters to get IDN flags
	and to set error value.  Handle IDN flags and especially AI_CANONIDN.
	Convert input wchar_t ai_canonname string to multibyte for output.
	(ga_duplist): Add parameters to get IDN flags and to set error value
	and propagate to ga_dup.  Call cygwin_freeaddrinfo.
	(gai_errmap): Add comments.  Align error strings to GLibc.  Add
	EAI_IDN_ENCODE entry.
	(get_ipv6_funcs): Remove.
	(load_ipv6_guard): Remove.
	(ipv6_inited): Remove.
	(load_ipv6): Remove.
	(load_ipv6_funcs): Remove.
	(cygwin_getaddrinfo): Drop calling load_ipv6.  Handle AI_IDN* flags.
	Convert input strings to wchar_t and call GetAddrInfoW/FreeAddrInfoW.
	In case hints is NULL, set default ai_flags explicitely to
	AI_V4MAPPED | AI_ADDRCONFIG, as documented for Glibc.  Only add AI_ALL
	if AI_ADDRCONFIG is not given.  Unconditionally add Windows-specific
	AI_DISABLE_IDN_ENCODING to ai_flags to make IDN behaviour compatible
	to Glibc even on Windows 8 and later.
	(cygwin_getnameinfo): Drop calling load_ipv6.  Handle NI_IDN* flags.
	Call GetNameInfoW and convert returned strings from wchar_t to
	multibyte.
	* include/netdb.h: Add comments to describe flags and error values.
	(AI_*): Define all flags using hex values for clearness.
	(AI_IDN): Define.
	(AI_CANONIDN): Define.
	(AI_IDN_ALLOW_UNASSIGNED): Define.
	(AI_IDN_USE_STD3_ASCII_RULES): Define.
	(NI_*): Define all flags using hex values for clearness.
	(NI_IDN): Define.
	(NI_IDN_ALLOW_UNASSIGNED): Define.
	(NI_IDN_USE_STD3_ASCII_RULES): Define.
	(EAI_IDN_ENCODE): Define.
2013-11-19 13:29:37 +00:00
..
arpa Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
asm * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
attr
bits * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
cygwin * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
machine * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
net Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
netinet Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
sys * include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce 2013-08-14 11:44:23 +00:00
a.out.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
byteswap.h
dlfcn.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
endian.h * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
error.h * include/error.h (error_message_count): Declare as dllimport. 2013-02-21 03:15:47 +00:00
fcntl.h * autoload.cc (CancelSynchronousIo): Define. 2013-06-02 10:22:14 +00:00
features.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
fenv.h Clean up whitespace. 2011-12-17 23:39:47 +00:00
fnmatch.h
fts.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ftw.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getopt.h
glob.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
icmp.h
ifaddrs.h
inttypes.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
io.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
lastlog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
libgen.h
limits.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
mapi.h
memory.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mntent.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
monetary.h
mqueue.h
netdb.h * autoload.cc (IdnToAscii): Define. 2013-11-19 13:29:37 +00:00
paths.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
poll.h
process.h * include/process.h: Move here from include/cygwin subdir. 2012-02-07 17:15:07 +00:00
pthread.h * include/pthread.h (pthread_atfork): Add missing declaration. 2013-02-26 10:32:36 +00:00
pty.h
regex.h
resolv.h Clean up whitespace. 2011-12-17 23:39:47 +00:00
search.h
semaphore.h
stdint.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
sysexits.h
syslog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
termio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
tzfile.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
utmpx.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
wait.h