]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
cli: use notmuch_bool_t for boolean fields in notmuch_show_params_t
[notmuch] / notmuch-client.h
index e0eb594ad0394510ecdd20e0a04ee1119f247775..60828aa40e24f5892aca2c9a380dca4d01d5f150 100644 (file)
@@ -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