aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-08-02 21:14:50 -0400
committerGravatar David Bremner <bremner@debian.org>2012-08-03 20:21:50 -0300
commitd79b24b98d26e08f7529df6c404d523739175347 (patch)
tree5e560e4c8ff95ef06f8bf9d86b17f20495436cfb /notmuch-client.h
parent14883b07003b9ed4223cd8f2c03b301fddae07bd (diff)
show: Associate an sprinter with each format
This associates an sprinter constructor with each show format and uses this to construct the appropriate sprinter. Currently nothing is done with this sprinter, but the following patches will weave it through the layers of notmuch show.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index f9307989..bbc0a114 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -69,6 +69,7 @@ typedef struct mime_node mime_node_t;
struct notmuch_show_params;
typedef struct notmuch_show_format {
+ struct sprinter *(*new_sprinter) (const void *ctx, FILE *stream);
const char *message_set_start;
notmuch_status_t (*part) (const void *ctx,
struct mime_node *node, int indent,