stas 2002/08/27 19:24:48
Modified: xs/APR/Bucket APR__Bucket.h
xs/maps apr_functions.map
xs/tables/current/ModPerl FunctionTable.pm
Log:
add the APR::Bucket::is_flush glue function
Revision Changes Path
1.5 +5 -0 modperl-2.0/xs/APR/Bucket/APR__Bucket.h
Index: APR__Bucket.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/Bucket/APR__Bucket.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- APR__Bucket.h 30 May 2002 02:33:48 -0000 1.4
+++ APR__Bucket.h 28 Aug 2002 02:24:47 -0000 1.5
@@ -44,6 +44,11 @@
return APR_BUCKET_IS_EOS(bucket);
}
+static MP_INLINE int mpxs_APR__Bucket_is_flush(apr_bucket *bucket)
+{
+ return APR_BUCKET_IS_FLUSH(bucket);
+}
+
static MP_INLINE void mpxs_APR__Bucket_insert_before(apr_bucket *a,
apr_bucket *b)
{
1.46 +1 -0 modperl-2.0/xs/maps/apr_functions.map
Index: apr_functions.map
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- apr_functions.map 23 Jun 2002 22:00:03 -0000 1.45
+++ apr_functions.map 28 Aug 2002 02:24:47 -0000 1.46
@@ -102,6 +102,7 @@
mpxs_APR__Brigade_empty #APR_BRIGADE_EMPTY
MODULE=APR::Bucket
+ mpxs_APR__Bucket_is_flush #APR_BUCKET_IS_FLUSH
mpxs_APR__Bucket_is_eos #APR_BUCKET_IS_EOS
mpxs_APR__Bucket_insert_after #APR_BUCKET_INSERT_AFTER
mpxs_APR__Bucket_insert_before #APR_BUCKET_INSERT_AFTER
1.83 +15 -27 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.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- FunctionTable.pm 27 Aug 2002 04:28:48 -0000 1.82
+++ FunctionTable.pm 28 Aug 2002 02:24:47 -0000 1.83
@@ -2,7 +2,7 @@
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# ! WARNING: generated by ModPerl::ParseSource/0.01
-# ! Mon Aug 26 19:47:54 2002
+# ! Wed Aug 28 10:12:34 2002
# ! do NOT edit, any changes will be lost !
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -4343,6 +4343,20 @@
]
},
{
+ 'return_type' => 'int',
+ 'name' => 'mpxs_APR__Bucket_is_flush',
+ 'attr' => [
+ 'static',
+ '__inline__'
+ ],
+ 'args' => [
+ {
+ 'type' => 'apr_bucket *',
+ 'name' => 'bucket'
+ }
+ ]
+ },
+ {
'return_type' => 'apr_bucket *',
'name' => 'mpxs_APR__Bucket_new',
'attr' => [
@@ -5507,32 +5521,6 @@
{
'type' => 'SV *',
'name' => 'arg'
- }
- ]
- },
- {
- 'return_type' => 'apr_global_mutex_t *',
- 'name' => 'mpxs_apr_global_mutex_create',
- 'args' => [
- {
- 'type' => 'PerlInterpreter *',
- 'name' => 'my_perl'
- },
- {
- 'type' => 'SV *',
- 'name' => 'classname'
- },
- {
- 'type' => 'apr_pool_t *',
- 'name' => 'pool'
- },
- {
- 'type' => 'const char *',
- 'name' => 'fname'
- },
- {
- 'type' => 'apr_lockmech_e',
- 'name' => 'mech'
}
]
},