]> git.notmuchmail.org Git - notmuch/blobdiff - util/gmime-extra.h
util/crypto: add information about the payload part
[notmuch] / util / gmime-extra.h
index a42e43e72c01f16824c142b786875089f8630e6b..b0c8d3d84a07429a44d84c5c7f1c03780b3bee51 100644 (file)
@@ -9,6 +9,14 @@ extern "C" {
 
 GMimeStream *g_mime_stream_stdout_new(void);
 
+/* Return a GMime stream for this open file descriptor, un-gzipping if
+ * necessary */
+GMimeStream *g_mime_stream_gzfile_new (int fd);
+
+/* Return a GMime stream for this path, un-gzipping if
+ * necessary */
+GMimeStream *g_mime_stream_gzfile_open (const char *filename);
+
 /**
  * Get last 16 hex digits of fingerprint ("keyid")
  */