]> git.notmuchmail.org Git - notmuch/blobdiff - util/gmime-extra.h
util/crypto: add information about the payload part
[notmuch] / util / gmime-extra.h
index d2636b7854621d69c63c8127caffa05ca2e9a164..b0c8d3d84a07429a44d84c5c7f1c03780b3bee51 100644 (file)
@@ -9,7 +9,13 @@ extern "C" {
 
 GMimeStream *g_mime_stream_stdout_new(void);
 
-#define g_mime_parser_construct_message(p) g_mime_parser_construct_message (p, g_mime_parser_options_get_default ())
+/* 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")