]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
add part_sep formatter to replace "first" argument to part format functions
[notmuch] / notmuch-client.h
index 57daa9a25ed0eacce4a188510c9172e9d239e2fc..5e8e3e53ae75ab049941ececa74ff2b7a387ef52 100644 (file)
@@ -66,15 +66,19 @@ typedef struct notmuch_show_format {
     const char *header_end;
     const char *body_start;
     void (*part) (GMimeObject *part,
     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);
     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;
 
     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;
+} 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).
 /* 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).