diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-20 17:40:16 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-11-20 17:40:16 +0000 |
commit | 5a4ee769ff4b6676b99111d89543a3bf63f86d8e (patch) | |
tree | 65bdef45539dff548afeb0cccb5bffae4aa660fb /include/apr_network_io.h | |
parent | 1fff23d1b5d6d67077554cdb9ac02c3c7baa0d3d (diff) | |
download | libapr-5a4ee769ff4b6676b99111d89543a3bf63f86d8e.tar.gz |
Getting closer to 1.0 - eliminate APR_SO_TIMEOUT and replace
various tests with (sock->timeout > 0).
Also mop up some very hard to read statements by liberally
applying parens.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64778 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r-- | include/apr_network_io.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h index 52061d4f3..27e706f72 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -103,7 +103,6 @@ extern "C" { #define APR_SO_DEBUG 4 /**< Debug */ #define APR_SO_NONBLOCK 8 /**< Non-blocking IO */ #define APR_SO_REUSEADDR 16 /**< Reuse addresses */ -#define APR_SO_TIMEOUT 32 /**< Timeout */ #define APR_SO_SNDBUF 64 /**< Send buffer */ #define APR_SO_RCVBUF 128 /**< Receive buffer */ #define APR_SO_DISCONNECTED 256 /**< Disconnected */ @@ -729,23 +728,6 @@ APR_DECLARE(int) apr_sockaddr_equal(const apr_sockaddr_t *addr1, const apr_sockaddr_t *addr2); -#if APR_FILES_AS_SOCKETS || defined(DOXYGEN) - -/** - * Convert a File type to a socket so that it can be used in a poll operation. - * @param newsock the newly created socket which represents a file. - * @param file the file to mask as a socket. - * @warning This is not available on all platforms. Platforms that have the - * ability to poll files for data to be read/written/exceptions will - * have the APR_FILES_AS_SOCKETS macro defined as true. - * @deprecated This function has been deprecated, because of the new poll - * implementation. - */ -APR_DECLARE(apr_status_t) apr_socket_from_file(apr_socket_t **newsock, - apr_file_t *file); - -#endif /* APR_FILES_AS_SOCKETS */ - /** * Given an apr_sockaddr_t and a service name, set the port for the service * @param sockaddr The apr_sockaddr_t that will have its port set |