APR::Bucket - Perl API for XXX
use APR::Bucket ();
META: to be completed
APR::Bucket provides the following functions and/or methods:
APR::Bucket
eos_create
META: Autogenerated - needs to be reviewed/completed
Each bucket type foo has two initialization functions: apr_bucket_foo_make which sets up some already-allocated memory as a bucket of type foo; and apr_bucket_foo_create which allocates memory for the bucket, calls apr_bucket_make_foo, and initializes the bucket's list pointers. The apr_bucket_foo_make functions are used inside the bucket code to change the type of buckets in place; other code should call apr_bucket_foo_create. All the initialization functions change nothing if they fail. *
Create an End of Stream bucket. This indicates that there is no more data coming from down the filter stack. All filters should flush at this point.
$ret = $list->eos_create();
$list
APR::BucketAlloc
The freelist from which this bucket should be allocated
$ret
The new bucket, or NULL if allocation failed
flush_create
Create a flush bucket. This indicates that filters should flush their data. There is no guarantee that they will flush it, but this is the best we can do.
$ret = $list->flush_create();
insert_after
$a->insert_after($b);
$a
$b
insert_before
$a->insert_before($b);
is_eos
$ret = $bucket->is_eos();
$bucket
is_flush
$ret = $bucket->is_flush();
remove
$bucket->remove();
mod_perl 2.0 documentation.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
The mod_perl development team and numerous contributors.
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.