aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Peter Feigl <craven@gmx.net>2012-12-06 22:12:12 +0100
committerGravatar David Bremner <bremner@debian.org>2012-12-08 09:28:19 -0400
commit1bf3720b6eaca6698f25781a7d299afcbd7a4be8 (patch)
tree635d70a3c3bc7b39a2d007e903116f4617e69b27 /notmuch-client.h
parentfd3ffe35a2bf15676426235b809df915cd3473e4 (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.h8
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,