X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-client.h;h=50b69e35750c2f4a8ff69ddef9dd616da81ff06d;hb=798aa789b5d117cf11697bc97dd982bd5a2c2ac8;hp=f7524e596c8dc16341c52733e61232b6f691d9e8;hpb=7ac96b149f5a0e5c03b64856d7c20789dab3c628;p=notmuch diff --git a/notmuch-client.h b/notmuch-client.h index f7524e59..50b69e35 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -414,9 +414,10 @@ struct mime_node { /* Construct a new MIME node pointing to the root message part of * message. If crypto->verify is true, signed child parts will be - * verified. If crypto->decrypt is true, encrypted child parts will be - * decrypted. If the crypto contexts (crypto->gpgctx or - * crypto->pkcs7) are NULL, they will be lazily initialized. + * verified. If crypto->decrypt is NOTMUCH_DECRYPT_TRUE, encrypted + * child parts will be decrypted. If the crypto contexts + * (crypto->gpgctx or crypto->pkcs7) are NULL, they will be lazily + * initialized. * * Return value: * @@ -500,8 +501,8 @@ int notmuch_minimal_options (const char* subcommand_name, /* the state chosen by the user invoking one of the notmuch * subcommands that does indexing */ struct _notmuch_client_indexing_cli_choices { - bool try_decrypt; - bool try_decrypt_set; + int decrypt_policy; + bool decrypt_policy_set; notmuch_indexopts_t * opts; }; extern struct _notmuch_client_indexing_cli_choices indexing_cli_choices;