]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
show: Convert format_headers_json to use sprinter
[notmuch] / notmuch-client.h
index 112574c75628c0c40849bc7459ec89438d8282eb..b11caff875985ba9e876387ce8f7db0110683f04 100644 (file)
@@ -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,