apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Leggett" <minf...@sharp.fm>
Subject Re: Clarification: apr_brigade_split()
Date Wed, 25 Oct 2006 09:03:05 GMT
On Wed, October 25, 2006 2:56 am, Davi Arnaut wrote:

>>> Is the brigade in a the leftmost part of the brigade, or the rightmost
>>> part of the brigade?
>>
>> All buckets before the bucket *e are removed from the brigade and placed
>> on the new brigade.
>
> Oops. All buckets before the bucket *e are kept on the brigade.

So is it true to say that when apr_brigade_split runs, all buckets after
and including bucket e are removed from the original brigade and are
returned as a new brigade, and that the original brigade now contains all
buckets before bucket e?

Regards,
Graham
--



Mime
View raw message