]> git.notmuchmail.org Git - notmuch/blobdiff - util/crypto.h
util/crypto: _n_m_crypto_potential_payload returns whether part is the payload
[notmuch] / util / crypto.h
index c4411246580d116b76a5e8ef565759b5c57988e2..f8bda0d1b1084fe932d3e08a8bf8453129420961 100644 (file)
@@ -90,8 +90,11 @@ _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
+bool
 _notmuch_message_crypto_potential_payload (_notmuch_message_crypto_t *msg_crypto, GMimeObject *part, GMimeObject *parent, int childnum);