about summary refs log tree commit diff
path: root/resolv/netdb.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-13 08:41:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-13 08:41:44 +0000
commitd0b23069f72bf4465172ffffdf06762f26ae7f9a (patch)
tree6d557a15798571323e5084d4a30dd30acceac7e3 /resolv/netdb.h
parent26301a17c2b458fcb8939da9f0920786da6a293d (diff)
downloadglibc-d0b23069f72bf4465172ffffdf06762f26ae7f9a.tar.gz
glibc-d0b23069f72bf4465172ffffdf06762f26ae7f9a.tar.xz
glibc-d0b23069f72bf4465172ffffdf06762f26ae7f9a.zip
(EAI_OVERFLOW): Define.
Diffstat (limited to 'resolv/netdb.h')
-rw-r--r--resolv/netdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 238510f0e4..204ba2ebf8 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -592,6 +592,7 @@ struct gaicb
 # define EAI_ADDRFAMILY	  -9	/* Address family for NAME not supported.  */
 # define EAI_MEMORY	  -10	/* Memory allocation failure.  */
 # define EAI_SYSTEM	  -11	/* System error returned in `errno'.  */
+# define EAI_OVERFLOW	  -12	/* Argument buffer overflow.  */
 # ifdef __USE_GNU
 #  define EAI_INPROGRESS  -100	/* Processing request in progress.  */
 #  define EAI_CANCELED	  -101	/* Request canceled.  */
@@ -609,6 +610,9 @@ struct gaicb
 # define NI_NOFQDN	4	/* Only return nodename portion.  */
 # define NI_NAMEREQD	8	/* Don't return numeric addresses.  */
 # define NI_DGRAM	16	/* Look up UDP service rather than TCP.  */
+# ifdef __USE_GNU
+#  define NI_IDN	32	/* Convert name from IDN format.  */
+# endif
 
 /* Translate name of a service location and/or a service name to set of
    socket addresses.