On Wed, May 27, 2015, at 01:50 AM, Thomas Jarosch wrote:
> that's a sound API improvement. I already reviewed the concept
> last week but never gotten around to actually send the email :)
Thanks :)
Next is actually making use of it! I'm getting side-tracked a bit adding
CalDAV/CardDAV/JMAP cli
Hi Bron,
On Saturday, 16. May 2015 09:46:40 Bron Gondwana wrote:
> So the way to work through all the records in a mailbox was:
>
> int r;
> uint32_t recno;
> struct index_record record;
>
> for (recno = 1; recno <= mailbox->i.num_records; recno++) {
> r = mailbox_read_index_record(mailbox,
Way back in the distant past (2010) I rewrote everything which read records
from cyrus.index to go through one API call:
mailbox_read_index_record(mailbox, recno, &record);
So the way to work through all the records in a mailbox was:
int r;
uint32_t recno;
struct index_record record;
for (recn