From d92146d3a6809f8ad940302af49cd99a0820665e Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Wed, 25 May 2011 18:01:13 -0700 Subject: Break up format->part function into part_start and part_content functions. Future improvements (eg. crypto support) will require adding new part header. By breaking up the output of part headers from the output of part content, we can easily out new part headers with new formatting functions. --- notmuch-client.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'notmuch-client.h') diff --git a/notmuch-client.h b/notmuch-client.h index 7221c681..b278bc77 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -65,8 +65,9 @@ typedef struct notmuch_show_format { notmuch_message_t *message); const char *header_end; const char *body_start; - void (*part) (GMimeObject *part, - int *part_count); + void (*part_start) (GMimeObject *part, + int *part_count); + void (*part_content) (GMimeObject *part); void (*part_end) (GMimeObject *part); const char *part_sep; const char *body_end; -- cgit v1.2.3