mod_perl logo
perl icon







previous page: APR::Brigade - Perl API for XXXpage up: mod_perl APIsnext page: APR::Const - Perl Interface for APR Constants


APR::Bucket - Perl API for XXX











Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C

By Lincoln Stein, Doug MacEachern
Embedding Perl in HTML with Mason

Embedding Perl in HTML with Mason

By Dave Rolsky, Ken Williams
Practical mod_perl

Practical mod_perl

By Stas Bekman, Eric Cholet


Table of Contents

Synopsis

  use APR::Bucket ();

META: to be completed



TOP

Description

META: to be completed



TOP

API

APR::Bucket provides the following functions and/or methods:



TOP

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();


TOP

flush_create

META: Autogenerated - needs to be reviewed/completed

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();


TOP

insert_after

META: Autogenerated - needs to be reviewed/completed

  $a->insert_after($b);


TOP

insert_before

META: Autogenerated - needs to be reviewed/completed

  $a->insert_before($b);


TOP

is_eos

META: Autogenerated - needs to be reviewed/completed

  $ret = $bucket->is_eos();


TOP

is_flush

META: Autogenerated - needs to be reviewed/completed

  $ret = $bucket->is_flush();


TOP

remove

META: Autogenerated - needs to be reviewed/completed

  $bucket->remove();


TOP

See Also

mod_perl 2.0 documentation.



TOP

Copyright

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.



TOP

Authors

The mod_perl development team and numerous contributors.







TOP
previous page: APR::Brigade - Perl API for XXXpage up: mod_perl APIsnext page: APR::Const - Perl Interface for APR Constants