Use valid HTML.
[libidn.git] / libc / libc.patch
blobf171fb938926ba497d8194282ad1b2c387020760
1 Index: resolv/netdb.h
2 ===================================================================
3 RCS file: /cvs/glibc/libc/resolv/netdb.h,v
4 retrieving revision 1.40
5 diff -u -p -r1.40 netdb.h
6 --- resolv/netdb.h 8 Aug 2002 21:17:03 -0000 1.40
7 +++ resolv/netdb.h 1 Mar 2003 20:03:38 -0000
8 @@ -424,6 +424,11 @@ struct gaicb
9 # define AI_PASSIVE 0x0001 /* Socket address is intended for `bind'. */
10 # define AI_CANONNAME 0x0002 /* Request for canonical name. */
11 # define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */
12 +# ifdef __USE_GNU
13 +# define AI_IDN 0x0008 /* IDN encode input (assuming it is encoded
14 + in the current locale's character set)
15 + before looking it up. */
16 +# endif
18 /* Error values for `getaddrinfo' function. */
19 # define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */
20 @@ -443,6 +448,7 @@ struct gaicb
21 # define EAI_NOTCANCELED -102 /* Request not canceled. */
22 # define EAI_ALLDONE -103 /* All requests done. */
23 # define EAI_INTR -104 /* Interrupted by a signal. */
24 +# define EAI_IDN_ENCODE -105 /* IDN encoding of input failed. */
25 # endif
27 # define NI_MAXHOST 1025