aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2011-05-22 19:56:53 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-05-23 14:55:27 -0700
commit6c2417cabc1b35ea4fc9db6493d85354b1039d6d (patch)
tree2294ff3d2ad52b12cb657966d984c29b0acd89c0 /notmuch-client.h
parentd2177d0b22a95989dee4f46a1b2cca68484a2ce3 (diff)
add part_sep formatter to replace "first" argument to part format functions
A new field "part_sep" is added to the notmuch_show_format structure, to be used for part separation. This is cleaner than the "first" argument that was being passed around to the part arguments, and allows the function that handles overall part output formatting (show_message_part) to directly handle when outputting the separator.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 8899ab26..5e8e3e53 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -66,9 +66,9 @@ typedef struct notmuch_show_format {
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);
+ const char *part_sep;
const char *body_end;
const char *message_end;
const char *message_set_sep;