X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=util%2Fcrypto.h;h=f8bda0d1b1084fe932d3e08a8bf8453129420961;hb=60ddce8a161772583e8d223498997ee866d04ede;hp=11e8060a85e8377b09954019ce106f1bdc951c2e;hpb=1a8916786f9464af6c8a05713a4c987a6b097a12;p=notmuch diff --git a/util/crypto.h b/util/crypto.h index 11e8060a..f8bda0d1 100644 --- a/util/crypto.h +++ b/util/crypto.h @@ -90,9 +90,12 @@ _notmuch_message_crypto_successful_decryption (_notmuch_message_crypto_t *msg_cr /* call potential_payload during a depth-first-search on a message * when encountering a message part that is not part of the envelope. + * + * Returns true if part is the root of the cryptographic payload of + * this message. */ -notmuch_status_t -_notmuch_message_crypto_potential_payload (_notmuch_message_crypto_t *msg_crypto, GMimeObject *payload, GMimeObject *parent, int childnum); +bool +_notmuch_message_crypto_potential_payload (_notmuch_message_crypto_t *msg_crypto, GMimeObject *part, GMimeObject *parent, int childnum); #ifdef __cplusplus