Dintelmann, Peter wrote:
I am looking for a list of the bucket types for APR::BucketType
objects and their meanings. So far I have encountered the types "FLUSH", "EOC" (end of connection?) and "mod_perl SV bucket".


It seems that bucket type (names) are only available as strings.
When looking for buckets of a particular type a comparison
to an integer constant would be more efficient. Can we have
some constants in APR::Const for this purpose and the bucket
type name as a dual valued scalar?

Peter, libapr identifies buckets only by their name. How do you suggest that we manage their numerical values? A new bucket type can be added any moment and we won't have an ID for it. APR::Const only provides a glue for the existing libapr's C-level constants. If you want a change of this kind, you will have to ensure that libapr provides that ID first and mp2 will follow.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to