Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:
> This is in large part a duplicate of parts of crypto.c, but that code
> is in the client (outside the library), and we don't want to entangle
> the libgmime API with the libnotmuch API.
>
> I welcome better proposals for how to share this code explicitly
> between the library and the client.
Maybe I miss something obvious, but util/libutil.a is exactly there for
sharing code between the library and the client.
perhaps something like "gmime-extra.c" to go with {talloc,zlib}-extra.c
I didn't look at the code yet, just the commentary.
d