* @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
* 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
* @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
}