From 1bf3720b6eaca6698f25781a7d299afcbd7a4be8 Mon Sep 17 00:00:00 2001 From: Peter Feigl Date: Thu, 6 Dec 2012 22:12:12 +0100 Subject: 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. --- notmuch-client.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'notmuch-client.h') 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, -- cgit v1.2.3