aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2012-02-06 21:57:21 +0200
committerGravatar David Bremner <bremner@debian.org>2012-02-12 11:58:20 -0500
commitc9c5a6f70c8371809f3b079e1aba3de3b4a13f6b (patch)
tree636ee46cf0c9f9bcfb0113190c01abc659960b5b /notmuch-client.h
parentc0cd09041208abb6d641279c9ae453e6f2fdf4db (diff)
cli: use notmuch_bool_t for boolean fields in notmuch_show_params_t
Use notmuch_bool_t instead of int for entire_thread, raw, and decrypt boolean fields in notmuch_show_params_t. No functional changes. Signed-off-by: Jani Nikula <jani@nikula.org>
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index e0eb594a..60828aa4 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -98,15 +98,15 @@ typedef struct notmuch_show_format {
} notmuch_show_format_t;
typedef struct notmuch_show_params {
- int entire_thread;
- int raw;
+ notmuch_bool_t entire_thread;
+ notmuch_bool_t raw;
int part;
#ifdef GMIME_ATLEAST_26
GMimeCryptoContext* cryptoctx;
#else
GMimeCipherContext* cryptoctx;
#endif
- int decrypt;
+ notmuch_bool_t decrypt;
} notmuch_show_params_t;
/* There's no point in continuing when we've detected that we've done