aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2011-05-22 20:04:02 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-05-23 14:55:27 -0700
commit5a9d5f2f149b4c3122e2796e782c13a32571696b (patch)
tree008b3b8b00cb1d8f28a406b10141eb5f1329a361 /notmuch-client.h
parent6c2417cabc1b35ea4fc9db6493d85354b1039d6d (diff)
rename do_show_raw to do_show_single, and create params.raw for raw message output
We rename here in order to make do_show_single into a generic function for handling output of just a single message, or which format=raw is a special case. The raw case is handled by setting a new parameter, params.raw, which is used to tell do_show_single to output a single message as a raw file. This is mostly in preparation for much improved part handling to follow imminently.
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 5e8e3e53..47a4e570 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -77,6 +77,7 @@ typedef struct notmuch_show_format {
typedef struct notmuch_show_params {
int entire_thread;
+ int raw;
} notmuch_show_params_t;
/* There's no point in continuing when we've detected that we've done