apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r603434 - /apr/apr/trunk/include/apr_network_io.h
Date Wed, 12 Dec 2007 01:08:16 GMT
Author: wrowe
Date: Tue Dec 11 17:08:15 2007
New Revision: 603434

URL: http://svn.apache.org/viewvc?rev=603434&view=rev
Log:
Propose an API and it's explicit meaning.


Modified:
    apr/apr/trunk/include/apr_network_io.h

Modified: apr/apr/trunk/include/apr_network_io.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_network_io.h?rev=603434&r1=603433&r2=603434&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_network_io.h (original)
+++ apr/apr/trunk/include/apr_network_io.h Tue Dec 11 17:08:15 2007
@@ -111,6 +111,7 @@
 
 #define APR_IPV4_ADDR_OK  0x01  /**< @see apr_sockaddr_info_get() */
 #define APR_IPV6_ADDR_OK  0x02  /**< @see apr_sockaddr_info_get() */
+#define APR_IPV6_V4MAPPED_OK 0x04 /**< @see apr_sockaddr_info_get() */
 
 #if (!APR_HAVE_IN_ADDR)
 /**
@@ -367,6 +368,9 @@
  *                                 only valid if family is APR_UNSPEC and hostname
  *                                 isn't NULL and APR_HAVE_IPV6; mutually exclusive
  *                                 with APR_IPV4_ADDR_OK
+ *       APR_IPV6_V4MAPPED_OK      Used with family APR_INET6, if no matching
+ *                                 IPv6 addresses could be matched, then 
+ *                                 accept IPv4 addresses as mapped matches.
  * </PRE>
  * @param p The pool for the apr_sockaddr_t and associated storage.
  */



Mime
View raw message