+#define STRINGIFY(s) STRINGIFY_(s)
+#define STRINGIFY_(s) #s
+
+typedef struct notmuch_show_format {
+ const char *message_set_start;
+ const char *message_start;
+ void (*message) (const void *ctx,
+ notmuch_message_t *message,
+ int indent);
+ const char *header_start;
+ void (*header) (const void *ctx,
+ notmuch_message_t *message);
+ void (*header_message_part) (GMimeMessage *message);
+ const char *header_end;
+ const char *body_start;
+ void (*part_start) (GMimeObject *part,
+ int *part_count);
+ void (*part_encstatus) (int status);
+ void (*part_sigstatus) (const GMimeSignatureValidity* validity);
+ void (*part_content) (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;
+
+typedef struct notmuch_show_params {
+ int entire_thread;
+ int raw;
+ int part;
+ GMimeCipherContext* cryptoctx;
+ int decrypt;
+} notmuch_show_params_t;
+