stas 2004/06/01 13:18:03
Modified: xs/Apache/Filter Apache__Filter.h xs/maps apache_functions.map xs/tables/current/ModPerl FunctionTable.pm Log: Apache::Filter: - remove unneeded methods: remove_input_filter() and remove_output_filter() - fflush() now throws exceptions Revision Changes Path 1.38 +8 -0 modperl-2.0/xs/Apache/Filter/Apache__Filter.h Index: Apache__Filter.h =================================================================== RCS file: /home/cvs/modperl-2.0/xs/Apache/Filter/Apache__Filter.h,v retrieving revision 1.37 retrieving revision 1.38 diff -u -u -r1.37 -r1.38 --- Apache__Filter.h 12 May 2004 18:54:15 -0000 1.37 +++ Apache__Filter.h 1 Jun 2004 20:18:02 -0000 1.38 @@ -290,3 +290,11 @@ ap_remove_output_filter(f); } } + +static MP_INLINE +void mpxs_Apache__Filter_fflush(pTHX_ ap_filter_t *filter, + apr_bucket_brigade *brigade) +{ + MP_RUN_CROAK(ap_fflush(filter, brigade), + "Apache::Filter::fflush"); +} 1.79 +4 -3 modperl-2.0/xs/maps/apache_functions.map Index: apache_functions.map =================================================================== RCS file: /home/cvs/modperl-2.0/xs/maps/apache_functions.map,v retrieving revision 1.78 retrieving revision 1.79 diff -u -u -r1.78 -r1.79 --- apache_functions.map 5 Mar 2004 18:19:15 -0000 1.78 +++ apache_functions.map 1 Jun 2004 20:18:02 -0000 1.79 @@ -228,11 +228,12 @@ ap_pass_brigade !ap_register_input_filter !ap_register_output_filter - ap_remove_output_filter - ap_remove_input_filter +-ap_remove_output_filter +-ap_remove_input_filter !ap_save_brigade ap_filter_flush - ap_fflush +-ap_fflush + mpxs_Apache__Filter_fflush -ap_fputstrs int:DEFINE_ap_fputs | | \ ap_filter_t *:f, apr_bucket_brigade *:bb, const char *:str 1.160 +19 -1 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm =================================================================== RCS file: /home/cvs/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v retrieving revision 1.159 retrieving revision 1.160 diff -u -u -r1.159 -r1.160 --- FunctionTable.pm 24 May 2004 19:57:11 -0000 1.159 +++ FunctionTable.pm 1 Jun 2004 20:18:02 -0000 1.160 @@ -2,7 +2,7 @@ # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # ! WARNING: generated by ModPerl::ParseSource/0.01 -# ! Mon May 24 12:18:34 2004 +# ! Mon May 31 12:36:08 2004 # ! do NOT edit, any changes will be lost ! # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! @@ -5794,6 +5794,24 @@ { 'type' => 'SV *', 'name' => 'data' + } + ] + }, + { + 'return_type' => 'void', + 'name' => 'mpxs_Apache__Filter_fflush', + 'args' => [ + { + 'type' => 'PerlInterpreter *', + 'name' => 'my_perl' + }, + { + 'type' => 'ap_filter_t *', + 'name' => 'filter' + }, + { + 'type' => 'apr_bucket_brigade *', + 'name' => 'brigade' } ] },