You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2006/11/29 10:40:06 UTC

svn commit: r480497 - /apr/apr/trunk/include/apr_network_io.h

Author: jorton
Date: Wed Nov 29 01:40:05 2006
New Revision: 480497

URL: http://svn.apache.org/viewvc?view=rev&rev=480497
Log:
* include/apr_network_io.h: Avoid inappropriate use of the word
"interface".

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?view=diff&rev=480497&r1=480496&r2=480497
==============================================================================
--- apr/apr/trunk/include/apr_network_io.h (original)
+++ apr/apr/trunk/include/apr_network_io.h Wed Nov 29 01:40:05 2006
@@ -164,7 +164,8 @@
 /** @} */
 
 /**
- * Enum to tell us if we're interested in remote or local socket
+ * Enum used to denote either the local and remote endpoint of a
+ * connection.
  */
 typedef enum {
     APR_LOCAL,
@@ -653,9 +654,11 @@
                                             int *atmark);
 
 /**
- * Return an apr_sockaddr_t from an apr_socket_t
+ * Return an address associated with a socket; either the address to
+ * which the socket is bound locally or the the address of the peer
+ * to which the socket is connected.
  * @param sa The returned apr_sockaddr_t.
- * @param which Which interface do we want the apr_sockaddr_t for?
+ * @param which Whether to retrieve the local or remote address
  * @param sock The socket to use
  */
 APR_DECLARE(apr_status_t) apr_socket_addr_get(apr_sockaddr_t **sa,