]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
show: Introduce mime_node formatter callback
[notmuch] / notmuch-client.h
index 70f2336214bfd53c5df421881ef7070609c877e5..e0eb594ad0394510ecdd20e0a04ee1119f247775 100644 (file)
 #define STRINGIFY(s) STRINGIFY_(s)
 #define STRINGIFY_(s) #s
 
+struct mime_node;
+struct notmuch_show_params;
+
 typedef struct notmuch_show_format {
     const char *message_set_start;
+    void (*part) (const void *ctx,
+                 struct mime_node *node, int indent,
+                 const struct notmuch_show_params *params);
     const char *message_start;
     void (*message) (const void *ctx,
                     notmuch_message_t *message,