X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch.h;h=ef463090ee09fb496debff66d7fc6b44341f520b;hp=2c5dcab5e6a0b00f2cf48e4f69d37a7c289c2484;hb=b62045a18680720b407173140d79b459e45e6039;hpb=d3964e81ac98825a025a6120c488ebd73de2a281 diff --git a/lib/notmuch.h b/lib/notmuch.h index 2c5dcab5..ef463090 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -2244,17 +2244,17 @@ notmuch_database_get_default_indexopts (notmuch_database_t *db); * @since libnotmuch 5.1 (notmuch 0.26) */ notmuch_status_t -notmuch_indexopts_set_try_decrypt (notmuch_indexopts_t *indexopts, - notmuch_bool_t try_decrypt); +notmuch_indexopts_set_decrypt_policy (notmuch_indexopts_t *indexopts, + notmuch_bool_t decrypt_policy); /** * Return whether to decrypt encrypted parts while indexing. - * see notmuch_indexopts_set_try_decrypt. + * see notmuch_indexopts_set_decrypt_policy. * * @since libnotmuch 5.1 (notmuch 0.26) */ notmuch_bool_t -notmuch_indexopts_get_try_decrypt (const notmuch_indexopts_t *indexopts); +notmuch_indexopts_get_decrypt_policy (const notmuch_indexopts_t *indexopts); /** * Destroy a notmuch_indexopts_t object.