diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2016-02-11 22:52:12 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2016-02-11 22:52:12 +0100 |
commit | 4e46f910d0d2eb339d53fdc5e4a224dfe029075e (patch) | |
tree | 8ce12547ff30d09a123a3b8fac24ba88dc430706 /include/http_core.h | |
parent | Note change for r1729897 (diff) | |
download | apache2-4e46f910d0d2eb339d53fdc5e4a224dfe029075e.tar.xz apache2-4e46f910d0d2eb339d53fdc5e4a224dfe029075e.zip |
Revert r1729897, 1729898, my copy of core.c was polluted by a different patch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729899 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r-- | include/http_core.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/include/http_core.h b/include/http_core.h index a6f1d28b8b..684fba49cf 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -159,32 +159,6 @@ AP_DECLARE(int) ap_allow_overrides(request_rec *r); AP_DECLARE(const char *) ap_document_root(request_rec *r); /** - * Lookup the remote user agent's DNS name or IP address - * @ingroup get_remote_hostname - * @param req The current request - * @param type The type of lookup to perform. One of: - * <pre> - * REMOTE_HOST returns the hostname, or NULL if the hostname - * lookup fails. It will force a DNS lookup according to the - * HostnameLookups setting. - * REMOTE_NAME returns the hostname, or the dotted quad if the - * hostname lookup fails. It will force a DNS lookup according - * to the HostnameLookups setting. - * REMOTE_NOLOOKUP is like REMOTE_NAME except that a DNS lookup is - * never forced. - * REMOTE_DOUBLE_REV will always force a DNS lookup, and also force - * a double reverse lookup, regardless of the HostnameLookups - * setting. The result is the (double reverse checked) - * hostname, or NULL if any of the lookups fail. - * </pre> - * @param str_is_ip unless NULL is passed, this will be set to non-zero on - * output when an IP address string is returned - * @return The remote hostname (based on the request useragent_ip) - */ -AP_DECLARE(const char *) ap_get_useragent_host(request_rec *req, int type, - int *str_is_ip); - -/** * Lookup the remote client's DNS name or IP address * @ingroup get_remote_host * @param conn The current connection @@ -206,7 +180,7 @@ AP_DECLARE(const char *) ap_get_useragent_host(request_rec *req, int type, * </pre> * @param str_is_ip unless NULL is passed, this will be set to non-zero on output when an IP address * string is returned - * @return The remote hostname (based on the connection client_ip) + * @return The remote hostname */ AP_DECLARE(const char *) ap_get_remote_host(conn_rec *conn, void *dir_config, int type, int *str_is_ip); |