From: David Reid Date: Wed, 8 Nov 2000 11:42:21 +0000 (+0000) Subject: Missed these first time round... More apr_port_t changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d3f969edb8db153a59f87fe5034b4ddb35ebf20;p=apache Missed these first time round... More apr_port_t changes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86867 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_listen.h b/include/ap_listen.h index de2f603599..991f744c59 100644 --- a/include/ap_listen.h +++ b/include/ap_listen.h @@ -121,7 +121,7 @@ int ap_setup_listeners(server_rec *s); * @warning This function is only available to Windows platforms, or the * Prefork or SPMT_OS2 MPMs. */ -int ap_listen_open(process_rec *process, unsigned port); +int ap_listen_open(process_rec *process, apr_port_t port); #endif /* Although these functions are exported from libmain, they are not really diff --git a/include/http_core.h b/include/http_core.h index df6d07cdb4..a7fdeb140a 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -206,9 +206,9 @@ AP_DECLARE(const char *) ap_get_server_name(request_rec *r); * Get the current server port * @param The current request * @return The server's port - * @deffunc unsigned ap_get_server_port(const request_rec *r) + * @deffunc apr_port_t ap_get_server_port(const request_rec *r) */ -AP_DECLARE(unsigned) ap_get_server_port(const request_rec *r); +AP_DECLARE(apr_port_t) ap_get_server_port(const request_rec *r); /** * Return the limit on bytes in request msg body * @param r The current request diff --git a/include/http_vhost.h b/include/http_vhost.h index 8262c030a1..f8c56874b3 100644 --- a/include/http_vhost.h +++ b/include/http_vhost.h @@ -110,10 +110,10 @@ void ap_update_vhost_from_headers(request_rec *r); * @param port The port from the headers * @return return 1 if the host:port matches any of the aliases of r->server, * return 0 otherwise - * @deffunc int ap_matches_request_vhost(request_rec *r, const char *host, unsigned port) + * @deffunc int ap_matches_request_vhost(request_rec *r, const char *host, apr_port_t port) */ AP_DECLARE(int) ap_matches_request_vhost(request_rec *r, const char *host, - unsigned port); + apr_port_t port); #ifdef __cplusplus }