util: convenience function to create gmime stream for stdout
authorDavid Bremner <david@tethera.net>
Sat, 27 May 2017 16:51:11 +0000 (13:51 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 30 May 2017 12:01:46 +0000 (09:01 -0300)
commit1e7dbf7abcf58407a5171e9030056f2ff9bec15a
tree120a91335e0c505a80daeb56ee218d43af9c3b21
parent427fa5e6e66eb238783f6cace56cbdcafc9c648d
util: convenience function to create gmime stream for stdout

It turns out that our use of GMimeStreamPipe has only succeeded
because gmime has been ignoring some seek failures; this will no
longer be the case in gmime 3.0, so we use a GMimeStreamPipe, which
does not assume seekability, wrapped in a buffering stream.
util/Makefile.local
util/gmime-extra.c [new file with mode: 0644]
util/gmime-extra.h [new file with mode: 0644]