diff options
author | Peter Feigl <craven@gmx.net> | 2012-12-06 22:12:12 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-12-08 09:28:19 -0400 |
commit | 1bf3720b6eaca6698f25781a7d299afcbd7a4be8 (patch) | |
tree | 635d70a3c3bc7b39a2d007e903116f4617e69b27 /notmuch-client.h | |
parent | fd3ffe35a2bf15676426235b809df915cd3473e4 (diff) |
Rename the -json printer functions in notmuch-reply and notmuch-show to generic -sprinter functions.
All the structured output functions in notmuch-reply and notmuch-show
are renamed to a generic name (as they do not contain any json-specific
code anyway). This patch is a preparation to actually using the new
S-Expression sprinter in notmuch-reply and notmuch-show.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index ae9344b2..1c336dcb 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -175,12 +175,12 @@ notmuch_status_t show_one_part (const char *filename, int part); void -format_part_json (const void *ctx, struct sprinter *sp, mime_node_t *node, - notmuch_bool_t first, notmuch_bool_t output_body); +format_part_sprinter (const void *ctx, struct sprinter *sp, mime_node_t *node, + notmuch_bool_t first, notmuch_bool_t output_body); void -format_headers_json (struct sprinter *sp, GMimeMessage *message, - notmuch_bool_t reply); +format_headers_sprinter (struct sprinter *sp, GMimeMessage *message, + notmuch_bool_t reply); typedef enum { NOTMUCH_SHOW_TEXT_PART_REPLY = 1 << 0, |