From d2177d0b22a95989dee4f46a1b2cca68484a2ce3 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Fri, 20 May 2011 15:01:52 -0700 Subject: 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. --- notmuch-client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'notmuch-client.h') 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). -- cgit v1.2.3