Build failed in Jenkins: cyrus-imapd-master #360
Greg Banks
gnb at fastmail.fm
Tue Jan 31 02:56:41 EST 2012
On Tue, Jan 31, 2012, at 08:47 AM, Bron Gondwana wrote:
>
>
> Annoyingly, there's no way to "annotate" the items in a strarray. Even
> just the ability
> to associate an integer with each record would be handy in this case... I
> wound up open
> coding something. But a "str_and_intarray" type would come in handy!
> I'm hacking on
> building up a folder list before spitting it out in "LIST".
>
The 'array.h' module in CCAN provides a generic expanding array, which
can give you an array of a struct type. In a previous job we used that,
after rewriting the code for coding standards. I think that would be a
better idea than perverting strarray_t.
--
Greg.
More information about the Cyrus-devel
mailing list