aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2011-06-05 17:29:28 -0700
committerGravatar David Bremner <bremner@debian.org>2011-09-05 22:58:52 -0300
commit12de016686351b78631546299ed35cced01f1e77 (patch)
tree8ef581a63a329005a8b4681a060ba4e86bc531aa /notmuch-client.h
parentc8598d9a99ca003cd905b4b28d16bda2b9ca785b (diff)
Improve handling of message/rfc822 parts by adding a new header_message_part function to the formating structure.
This new function takes a GMimeMessage as input, and outputs the formatted headers. This allows for message/rfc822 parts to be formatted on output in a similar way to full messages (see previous patch that overhauls the multipart test for more info).
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 63be3374..b50cb38b 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -63,6 +63,7 @@ typedef struct notmuch_show_format {
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,