]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
rename do_show_raw to do_show_single, and create params.raw for raw message output
[notmuch] / notmuch-client.h
index 57daa9a25ed0eacce4a188510c9172e9d239e2fc..47a4e570abb312e164ada57499e9ccd2ae5a30dc 100644 (file)
@@ -66,15 +66,20 @@ typedef struct notmuch_show_format {
     const char *header_end;
     const char *body_start;
     void (*part) (GMimeObject *part,
-                 int *part_count,
-                 int first);
+                 int *part_count);
     void (*part_end) (GMimeObject *part);
+    const char *part_sep;
     const char *body_end;
     const char *message_end;
     const char *message_set_sep;
     const char *message_set_end;
 } notmuch_show_format_t;
 
+typedef struct notmuch_show_params {
+    int entire_thread;
+    int raw;
+} notmuch_show_params_t;
+
 /* There's no point in continuing when we've detected that we've done
  * something wrong internally (as opposed to the user passing in a
  * bogus value).