]> git.notmuchmail.org Git - notmuch/blobdiff - util/crypto.h
crypto: record whether an actual decryption attempt happened
[notmuch] / util / crypto.h
index dc95b4cadda7329d0d4041820a11af3ffd3a44e4..c384601c11d35772a727c55996f4c3180076481e 100644 (file)
@@ -16,7 +16,8 @@ typedef struct _notmuch_crypto {
 } _notmuch_crypto_t;
 
 GMimeObject *
-_notmuch_crypto_decrypt (notmuch_decryption_policy_t decrypt,
+_notmuch_crypto_decrypt (bool *attempted,
+                        notmuch_decryption_policy_t decrypt,
                         notmuch_message_t *message,
                         GMimeCryptoContext* crypto_ctx,
                         GMimeMultipartEncrypted *part,