Mod Cplusplus CVS committal
Author : gr84b8
Project : mod_cplusplus
Module : example
Dir : mod_cplusplus/example/input_filter
Modified Files:
test_input.cpp test_input.h
Log Message:
fix to match apache filter changes
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/test_input.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- test_input.cpp 11 Dec 2001 23:52:08 -0000 1.8
+++ test_input.cpp 7 Mar 2002 20:14:06 -0000 1.9
@@ -13,7 +13,8 @@
apr_status_t TestInputFilter::connection_input_filter(ap_filter_t *f,
apr_bucket_brigade *bb,
ap_input_mode_t eMode,
- apr_off_t *readbytes)
+ apr_read_type_e eBlock,
+ apr_off_t readbytes)
{
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, NULL,
"EXAMPLE modcplusplus input filter!!!!");
@@ -22,7 +23,8 @@
apr_bucket *output_bucket;
apr_bucket_brigade *input_brigade = apr_brigade_create(f->c->pool);
- apr_status_t ret = ap_get_brigade(f->next, input_brigade, eMode, readbytes);
+ apr_status_t ret = ap_get_brigade(f->next, input_brigade, eMode, eBlock,
+ readbytes);
if(ret != APR_SUCCESS) {
return ret;
}
===================================================================
RCS file: /cvsroot/modcplusplus/mod_cplusplus/example/input_filter/test_input.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- test_input.h 22 Oct 2001 00:13:42 -0000 1.3
+++ test_input.h 7 Mar 2002 20:14:06 -0000 1.4
@@ -11,6 +11,7 @@
~TestInputFilter(void);
apr_status_t connection_input_filter(ap_filter_t *f, apr_bucket_brigade *b,
ap_input_mode_t eMode,
- apr_off_t *readbytes);
+ apr_read_type_e eBlock,
+ apr_off_t readbytes);
};
|