You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2005/10/12 22:18:38 UTC
svn commit: r315024 - in /httpd/httpd/trunk: include/util_filter.h
server/util_filter.c
Author: niq
Date: Wed Oct 12 13:18:33 2005
New Revision: 315024
URL: http://svn.apache.org/viewcvs?rev=315024&view=rev
Log:
Make ap_register_output_filter a #define
Modified:
httpd/httpd/trunk/include/util_filter.h
httpd/httpd/trunk/server/util_filter.c
Modified: httpd/httpd/trunk/include/util_filter.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/util_filter.h?rev=315024&r1=315023&r2=315024&view=diff
==============================================================================
--- httpd/httpd/trunk/include/util_filter.h (original)
+++ httpd/httpd/trunk/include/util_filter.h Wed Oct 12 13:18:33 2005
@@ -344,15 +344,8 @@
* ::AP_FTYPE_CONNECTION
* @see ap_add_output_filter()
*/
-AP_DECLARE(ap_filter_rec_t *) ap_register_output_filter(const char *name,
- ap_out_filter_func filter_func,
- ap_init_filter_func filter_init,
- ap_filter_type ftype);
-
-/* For httpd-2.2 I suggest replacing the above with
#define ap_register_output_filter(name,ffunc,init,ftype) \
ap_register_output_filter_protocol(name,ffunc,init,ftype,0)
-*/
/**
* This function is used to register an output filter with the system.
Modified: httpd/httpd/trunk/server/util_filter.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/util_filter.c?rev=315024&r1=315023&r2=315024&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_filter.c (original)
+++ httpd/httpd/trunk/server/util_filter.c Wed Oct 12 13:18:33 2005
@@ -248,15 +248,6 @@
®istered_input_filters);
}
-/* Prepare to make this a #define in 2.2 */
-AP_DECLARE(ap_filter_rec_t *) ap_register_output_filter(const char *name,
- ap_out_filter_func filter_func,
- ap_init_filter_func filter_init,
- ap_filter_type ftype)
-{
- return ap_register_output_filter_protocol(name, filter_func,
- filter_init, ftype, 0) ;
-}
AP_DECLARE(ap_filter_rec_t *) ap_register_output_filter_protocol(
const char *name,
ap_out_filter_func filter_func,