/[cvs]/ccvs/lib/getaddrinfo.h
ViewVC logotype

Diff of /ccvs/lib/getaddrinfo.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by dprice, Wed Oct 5 20:51:02 2005 UTC revision 1.6 by mdb, Mon Nov 28 02:35:49 2005 UTC
# Line 82  struct addrinfo Line 82  struct addrinfo
82  #  endif  #  endif
83  # endif  # endif
84    
85  # ifndef HAVE_DECL_GETADDRINFO  # if !HAVE_DECL_GETADDRINFO
86  /* Translate name of a service location and/or a service name to set of  /* Translate name of a service location and/or a service name to set of
87     socket addresses.     socket addresses.
88     For more details, see the POSIX:2001 specification     For more details, see the POSIX:2001 specification
# Line 93  extern int getaddrinfo (const char *rest Line 93  extern int getaddrinfo (const char *rest
93                          struct addrinfo **restrict res);                          struct addrinfo **restrict res);
94  # endif  # endif
95    
96  # ifndef HAVE_DECL_FREEADDRINFO  # if !HAVE_DECL_FREEADDRINFO
97  /* Free `addrinfo' structure AI including associated storage.  /* Free `addrinfo' structure AI including associated storage.
98     For more details, see the POSIX:2001 specification     For more details, see the POSIX:2001 specification
99     <http://www.opengroup.org/susv3xsh/getaddrinfo.html>.  */     <http://www.opengroup.org/susv3xsh/getaddrinfo.html>.  */
100  extern void freeaddrinfo (struct addrinfo *ai);  extern void freeaddrinfo (struct addrinfo *ai);
101  # endif  # endif
102    
103  # ifndef HAVE_DECL_GAI_STRERROR  # if !HAVE_DECL_GAI_STRERROR
104  /* Convert error return from getaddrinfo() to a string.  /* Convert error return from getaddrinfo() to a string.
105     For more details, see the POSIX:2001 specification     For more details, see the POSIX:2001 specification
106     <http://www.opengroup.org/susv3xsh/gai_strerror.html>.  */     <http://www.opengroup.org/susv3xsh/gai_strerror.html>.  */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26