aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-08-02 21:14:53 -0400
committerGravatar David Bremner <bremner@debian.org>2012-08-03 20:30:49 -0300
commit7018fc58b4ebf6e2c52102c0443169f8120db261 (patch)
treef74c0179bc09c0ec038f5f4472eea05d5d4a91ee /notmuch-client.h
parent3a08341e504d7f9b27f8a67a2fed223a38edb706 (diff)
show: Convert format_headers_json to use sprinter
This no longer requires a talloc context (not that it really did before since it didn't return anything), so we remove its context argument.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 112574c7..b11caff8 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -183,7 +183,8 @@ format_part_json (const void *ctx, struct sprinter *sp, mime_node_t *node,
notmuch_bool_t first, notmuch_bool_t output_body);
void
-format_headers_json (const void *ctx, GMimeMessage *message, notmuch_bool_t reply);
+format_headers_json (struct sprinter *sp, GMimeMessage *message,
+ notmuch_bool_t reply);
typedef enum {
NOTMUCH_SHOW_TEXT_PART_REPLY = 1 << 0,