lib/getaddrinfo.h


Log

Author Commit Date CI Message
Simon Josefsson 361c5154 2006-07-22T10:13:57 2006-07-22 Yoann Vandoorselaere <yoann.v@prelude-ids.com> and Simon Josefsson <jas@extundo.com> * getaddrinfo.h (AI_PASSIVE): Make sure it is defined. * getaddrinfo.c (getaddrinfo): Support AI_PASSIVE.
Derek R. Price 4f1c3e03 2006-07-19T21:59:10 * lib/getaddrinfo.h: Reindent and repaginate.
Derek R. Price 7f5c5b4f 2006-07-19T21:51:37 * lib/getaddrinfo.h: Don't define unimplemented AI_* flags.
Eric Blake 8e97d8dc 2006-07-05T17:53:09 * getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if missing from netdb.h. * getaddrinfo.c (includes): Include inet_ntop and snprintf.
Bruno Haible 7efb4c68 2006-06-29T15:16:56 Various small tweaks.
Simon Josefsson 633351a9 2006-06-28T11:08:34 Native win32 support for getaddrinfo. Add getnameinfo function.
Simon Josefsson 955a407e 2006-01-27T12:50:41 Mingw32 fixes for getaddrinfo.
Simon Josefsson 21af7caa 2005-11-08T19:20:59 * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
Simon Josefsson 31fa87f9 2005-10-05T08:46:24 Also remove HAVE_NETDB_H test, for same reasons.
Simon Josefsson 2e1c3812 2005-10-05T07:49:16 Remove HAVE_SYS_SOCKET_H test too, to see if any systems lack sys/socket.h; mingw32 is known to lack it, but we don't support it yet anyway.
Simon Josefsson 62f66280 2005-10-05T07:39:50 Don't protect sys/types.h with HAVE_SYS_TYPES_H, we assume all systems have it, suggested by Jim Meyering <jim@meyering.net>.
Simon Josefsson 66257a19 2005-10-04T09:53:09 * getaddrinfo.h: Move sys/types.h include first, reported by "Mark D. Baushke" <mdb@gnu.org>.
Simon Josefsson eea6490a 2005-10-01T10:27:20 2005-10-01 Simon Josefsson <jas@extundo.com> * getaddrinfo.h: Protect #include's of sys/socket.h and netdb.h. Only define struct addrinfo if !HAVE_STRUCT_ADDRINFO. Protect AI_* and EAI_* definitions. Protect function declarations.
Derek R. Price 244d36cf 2005-09-13T04:15:15 * modules/canon-host: Add canon-host.h. Depend on getaddrinfo. Make LGPL. * modules/getaddrinfo: Add link to opengroup spec. Depend on strdup. Make canon-host require getaddrinfo. * m4/canon-host.m4 (gl_CANON_HOST): Remove most dependencies. AC_LIBSOURCE canon-host.h. Call... (gl_PREREQ_CANON_HOST): ...this new function, which requires gl_GETADDRINFO. * m4/getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed. Return usable errors from canon-host. * lib/canon-host.h: New file. * lib/canon-host.c (canon_host): Wrap... (canon_host_r): ...this new function, which now relies exclusively on getaddrinfo. (ch_strerror): New function. (last_cherror): New global. * lib/getaddrinfo.c: Move include of getaddrinfo.h first to test interface. (getaddrinfo): Add AI_CANONNAME functionality. Don't do arithmetic on void *. (freeaddrinfo): Free ai->ai_canonname when set.
Bruno Haible 75e3b367 2005-07-11T11:21:55 Use shortcut links to the POSIX specification.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Simon Josefsson a41a3b24 2005-04-02T08:09:23 Fix OpenBSD compilation failure, inspired by tiny patch from Yoann Vandoorselaere <yoann@prelude-ids.org>.
Simon Josefsson f34b5ec4 2004-11-10T14:53:00 Add getaddrinfo.