From a281b7cc304ebd981afd04248edff6191d73b686 Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Thu, 11 Aug 2005 21:16:38 +0000 Subject: Add error results to mutt_body_handlers, and check them when doing decode-save. Closes: #1919. --- mutt_crypt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mutt_crypt.h') diff --git a/mutt_crypt.h b/mutt_crypt.h index 6b57382e..acb356fe 100644 --- a/mutt_crypt.h +++ b/mutt_crypt.h @@ -117,7 +117,7 @@ int mutt_is_application_pgp (BODY *); int mutt_is_application_smime (BODY *); -void mutt_signed_handler (BODY *, STATE *); +int mutt_signed_handler (BODY *, STATE *); int mutt_parse_crypt_hdr (char *, int); @@ -171,10 +171,10 @@ int crypt_pgp_valid_passphrase (void); int crypt_pgp_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d); /* MIME handler for the application/pgp content-type. */ -void crypt_pgp_application_pgp_handler (BODY *m, STATE *s); +int crypt_pgp_application_pgp_handler (BODY *m, STATE *s); /* MIME handler for an PGP/MIME encrypted message. */ -void crypt_pgp_encrypted_handler (BODY *a, STATE *s); +int crypt_pgp_encrypted_handler (BODY *a, STATE *s); /* fixme: needs documentation. */ void crypt_pgp_invoke_getkeys (ADDRESS *addr); @@ -233,7 +233,7 @@ int crypt_smime_valid_passphrase (void); int crypt_smime_decrypt_mime (FILE *a, FILE **b, BODY *c, BODY **d); /* MIME handler for the application/smime content-type. */ -void crypt_smime_application_smime_handler (BODY *m, STATE *s); +int crypt_smime_application_smime_handler (BODY *m, STATE *s); /* fixme: Needs documentation. */ void crypt_smime_getkeys (ENVELOPE *env); -- cgit v1.2.3