summaryrefslogtreecommitdiff
path: root/include/apr_network_io.h
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2006-11-29 09:40:05 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2006-11-29 09:40:05 +0000
commit5db26bc9a06dea946ce1110cdd299693f56ea7d1 (patch)
tree54b68e25a3df024dde68c6c232f3493e0e097c75 /include/apr_network_io.h
parent65fef9cb9c62db6364c013c8bab8c59461ceecec (diff)
downloadlibapr-5db26bc9a06dea946ce1110cdd299693f56ea7d1.tar.gz
* include/apr_network_io.h: Avoid inappropriate use of the word
"interface". git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@480497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r--include/apr_network_io.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h
index 011ae048d..3ca87b326 100644
--- a/include/apr_network_io.h
+++ b/include/apr_network_io.h
@@ -164,7 +164,8 @@ struct in_addr {
/** @} */
/**
- * 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 @@ APR_DECLARE(apr_status_t) apr_socket_atmark(apr_socket_t *sock,
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,