diff options
author | Jeff Trawick <trawick@apache.org> | 2000-12-01 18:47:32 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-12-01 18:47:32 +0000 |
commit | 882301c14508e79b855fd53e5859b42983c751ae (patch) | |
tree | 04daf07fbfdeb19ad848dcadc1545e0f9269a103 /include | |
parent | 7997a994a7633ee3bf7aaccbce3c996709489325 (diff) | |
download | apr-882301c14508e79b855fd53e5859b42983c751ae.tar.gz |
Get rid of apr_get_socket_inaddr(), apr_get_remote_name(), and
apr_get_local_name(). Use apr_get_sockaddr() instead.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/apr_network_io.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h index f79b682a3..b19549026 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -498,20 +498,6 @@ apr_status_t apr_set_ipaddr(apr_sockaddr_t *sockaddr, const char *addr); apr_status_t apr_get_ipaddr(char **addr, apr_sockaddr_t *sockaddr); /** - * Return the local socket name as a BSD style struct sockaddr_in. - * @param name The local name associated with the socket. - * @param sock The socket to use - */ -apr_status_t apr_get_local_name(struct sockaddr_in **name, apr_socket_t *sock); - -/** - * Return the remote socket name as a BSD style struct sockaddr_in. - * @param name The remote name associated with the socket. - * @param sock The socket to use - */ -apr_status_t apr_get_remote_name(struct sockaddr_in **name, apr_socket_t *sock); - -/** * Setup the memory required for poll to operate properly> * @param new_poll The poll structure to be used. * @param num The number of socket descriptors to be polled. @@ -639,15 +625,6 @@ apr_status_t apr_socket_from_file(apr_socket_t **newsock, apr_file_t *file); apr_status_t apr_get_inaddr(apr_in_addr_t *addr, char *hostname); /** - * Given an apr_socket_t get the apr_in_addr_t for the requested interface - * @param addr The apr_in_addr_t structure to return - * @param which The interface to return for - * @param sock The apr_socket_t to use - */ -apr_status_t apr_get_socket_inaddr(apr_in_addr_t *addr, apr_interface_e which, - apr_socket_t *sock); - -/** * Given an apr_sockaddr_t and a service name, set the port for the service * @param sockaddr The apr_sockaddr_t that will have it's port set * @param servname The name of the service you wish to use |