dougm 01/11/06 19:12:51
Modified: xs/Apache/RequestIO Apache__RequestIO.h
Log:
s/modperl_/mpxs_/ for {setup,should}_client_block wrappers
Revision Changes Path
1.20 +4 -4 modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h
Index: Apache__RequestIO.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Apache__RequestIO.h 2001/11/06 19:09:14 1.19
+++ Apache__RequestIO.h 2001/11/07 03:12:50 1.20
@@ -136,7 +136,7 @@
}
static MP_INLINE
-apr_status_t modperl_setup_client_block(request_rec *r)
+apr_status_t mpxs_setup_client_block(request_rec *r)
{
if (!r->read_length) {
apr_status_t rc;
@@ -153,7 +153,7 @@
return APR_SUCCESS;
}
-#define modperl_should_client_block(r) \
+#define mpxs_should_client_block(r) \
(r->read_length || ap_should_client_block(r))
/* alias */
@@ -167,11 +167,11 @@
long nrd = 0;
int rc;
- if ((rc = modperl_setup_client_block(r)) != APR_SUCCESS) {
+ if ((rc = mpxs_setup_client_block(r)) != APR_SUCCESS) {
return 0;
}
- if (modperl_should_client_block(r)) {
+ if (mpxs_should_client_block(r)) {
/* ap_should_client_block() will return 0 if r->read_length */
mpxs_sv_grow(buffer, bufsiz+offset);
nrd = ap_get_client_block(r, SvPVX(buffer)+offset, bufsiz);