From: William A. Rowe Jr Date: Thu, 4 Feb 2010 18:50:05 +0000 (+0000) Subject: Add ap_process_request_after_handler to the exported list for mod_serf X-Git-Tag: 2.3.6~513 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c8baf8db2ed225bb9be0fbdd35f077a5fa0b6a6;p=apache Add ap_process_request_after_handler to the exported list for mod_serf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906606 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_mmn.h b/include/ap_mmn.h index 3eb0aebe15..c7d1c7d229 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -213,6 +213,7 @@ * 20091230.1 (2.3.5-dev) add util_ldap_state_t.opTimeout * 20091230.2 (2.3.5-dev) add ap_get_server_name_for_url() * 20091230.3 (2.3.6-dev) add ap_parse_log_level() + * 20091230.4 (2.3.6-dev) export ap_process_request_after_handler() for mod_serf * */ @@ -221,7 +222,7 @@ #ifndef MODULE_MAGIC_NUMBER_MAJOR #define MODULE_MAGIC_NUMBER_MAJOR 20091230 #endif -#define MODULE_MAGIC_NUMBER_MINOR 3 /* 0...n */ +#define MODULE_MAGIC_NUMBER_MINOR 4 /* 0...n */ /** * Determine if the server's current MODULE_MAGIC_NUMBER is at least a diff --git a/include/http_request.h b/include/http_request.h index 0c9b138d80..df1825caa1 100644 --- a/include/http_request.h +++ b/include/http_request.h @@ -315,8 +315,10 @@ AP_DECLARE(void) ap_allow_standard_methods(request_rec *r, int reset, ...); */ void ap_process_request(request_rec *r); -/* For post-processing after a handler has finished with a request. (Commonly used after it was suspended) */ -void ap_process_request_after_handler(request_rec *r); +/* For post-processing after a handler has finished with a request. + * (Commonly used after it was suspended) + */ +AP_DECLARE(void) ap_process_request_after_handler(request_rec *r); /** * Process a top-level request from a client, allowing some or all of diff --git a/modules/http/http_request.c b/modules/http/http_request.c index 869bbc82a4..22f2066af3 100644 --- a/modules/http/http_request.c +++ b/modules/http/http_request.c @@ -237,7 +237,7 @@ static void check_pipeline(conn_rec *c) } -void ap_process_request_after_handler(request_rec *r) +AP_DECLARE(void) ap_process_request_after_handler(request_rec *r) { apr_bucket_brigade *bb; apr_bucket *b;