From: Bill Stoddard Date: Fri, 5 Nov 1999 15:45:05 +0000 (+0000) Subject: Export ap_send_error_response X-Git-Tag: 1.3.10~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e63638c46bff3a4156427d0360de77aadb369e45;p=apache Export ap_send_error_response git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84107 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ApacheCore.def b/ApacheCore.def index ebf3dba8ad..0f2605a5a4 100644 --- a/ApacheCore.def +++ b/ApacheCore.def @@ -367,3 +367,4 @@ EXPORTS ap_hook_auth_checker @362 ap_hook_fixups @363 regerror @364 + ap_send_error_response @365 diff --git a/include/http_protocol.h b/include/http_protocol.h index eab522e972..8a5e75396f 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -106,7 +106,7 @@ API_EXPORT(void) ap_finalize_request_protocol(request_rec *r); * problem with the ErrorDocument. */ -void ap_send_error_response(request_rec *r, int recursive_error); +API_EXPORT(void) ap_send_error_response(request_rec *r, int recursive_error); /* Set last modified header line from the lastmod date of the associated file. * Also, set content length. diff --git a/libhttpd.def b/libhttpd.def index ebf3dba8ad..0f2605a5a4 100644 --- a/libhttpd.def +++ b/libhttpd.def @@ -367,3 +367,4 @@ EXPORTS ap_hook_auth_checker @362 ap_hook_fixups @363 regerror @364 + ap_send_error_response @365 diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 24a5dff0d8..492774cded 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2391,7 +2391,7 @@ API_EXPORT(int) ap_rflush(request_rec *r) * and 5xx (server error) messages that have not been redirected to another * handler via the ErrorDocument feature. */ -void ap_send_error_response(request_rec *r, int recursive_error) +API_EXPORT(void) ap_send_error_response(request_rec *r, int recursive_error) { int status = r->status; int idx = ap_index_of_response(status);