From: Stefan Fritsch Date: Sat, 25 Feb 2012 22:15:42 +0000 (+0000) Subject: Enable per-module loglevel for mod_xml2enc and mod_proxy_html X-Git-Tag: 2.5.0-alpha~7438 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1cbd5ddfbd627ec192bb0ff1458a0173138b9e8;p=thirdparty%2Fapache%2Fhttpd.git Enable per-module loglevel for mod_xml2enc and mod_proxy_html git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1293708 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index 3bac8982ab9..6cbe87a9688 100644 --- a/modules/filters/mod_proxy_html.c +++ b/modules/filters/mod_proxy_html.c @@ -1265,7 +1265,8 @@ static void proxy_html_hooks(apr_pool_t *p) ap_hook_pre_config(mod_proxy_html, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_insert_filter(proxy_html_insert, NULL, aszSucc, APR_HOOK_MIDDLE); } -module AP_MODULE_DECLARE_DATA proxy_html_module = { + +AP_DECLARE_MODULE(proxy_html) = { STANDARD20_MODULE_STUFF, proxy_html_config, proxy_html_merge, diff --git a/modules/filters/mod_xml2enc.c b/modules/filters/mod_xml2enc.c index fd544444ed6..5b082fb4311 100644 --- a/modules/filters/mod_xml2enc.c +++ b/modules/filters/mod_xml2enc.c @@ -614,7 +614,8 @@ static void* xml2enc_merge(apr_pool_t* pool, void* BASE, void* ADD) ret->skipto = add->skipto ? add->skipto : base->skipto; return ret; } -module AP_MODULE_DECLARE_DATA xml2enc_module = { + +AP_DECLARE_MODULE(xml2enc) = { STANDARD20_MODULE_STUFF, xml2enc_config, xml2enc_merge, @@ -623,6 +624,7 @@ module AP_MODULE_DECLARE_DATA xml2enc_module = { xml2enc_cmds, xml2enc_hooks }; + APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(xml2enc, XML2ENC, int, preprocess, (ap_filter_t *f, char** bufp, apr_size_t* bytesp), (f, bufp, bytesp), OK, DECLINED)