]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
test: new test-lib function to test for equality between files
[notmuch] / notmuch-reply.c
index 8c5e76ccc38993ccdc308b1ed53fef6d53f86ba0..9c35475d0553fa96bb37b141116dfa22c63b1569 100644 (file)
 #include "gmime-filter-headers.h"
 
 static void
-reply_part (GMimeObject *part,
-           unused (int *part_count));
+reply_part_content (GMimeObject *part);
 
 static const notmuch_show_format_t format_reply = {
-    NULL,
-       NULL, NULL,
-           NULL, NULL, NULL,
-           NULL, reply_part, NULL, NULL, NULL,
-       NULL, NULL,
-    NULL
+    "",
+       "", NULL,
+           "", NULL, "",
+           "",
+               NULL,
+               reply_part_content,
+               NULL,
+               "",
+           "",
+       "", "",
+    ""
 };
 
 static void
@@ -57,8 +61,7 @@ show_reply_headers (GMimeMessage *message)
 }
 
 static void
-reply_part (GMimeObject *part,
-           unused (int *part_count))
+reply_part_content (GMimeObject *part)
 {
     GMimeContentType *content_type = g_mime_object_get_content_type (GMIME_OBJECT (part));
     GMimeContentDisposition *disposition = g_mime_object_get_content_disposition (part);