aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2011-05-20 15:01:52 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-05-23 14:55:27 -0700
commitd2177d0b22a95989dee4f46a1b2cca68484a2ce3 (patch)
tree42efcd815dd38000b285b4b0e01f6be9cfd3df28 /notmuch-client.h
parent04927208fa10cfa33d2ca93dfcb5ac95f25f55a1 (diff)
create notmuch_show_params_t structure for holding parameters passed to show functions.
This simplifies the passing of arguments to the show functions. This will be very useful as we accumulate more parameters that will need to be passed. Currently only the entire_thread parameter is passed this way.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 57daa9a2..8899ab26 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -75,6 +75,10 @@ typedef struct notmuch_show_format {
const char *message_set_end;
} notmuch_show_format_t;
+typedef struct notmuch_show_params {
+ int entire_thread;
+} notmuch_show_params_t;
+
/* There's no point in continuing when we've detected that we've done
* something wrong internally (as opposed to the user passing in a
* bogus value).