summaryrefslogtreecommitdiffstats
path: root/mutt_crypt.h
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2005-08-11 21:16:38 +0000
committerBrendan Cully <brendan@kublai.com>2005-08-11 21:16:38 +0000
commita281b7cc304ebd981afd04248edff6191d73b686 (patch)
tree11ff65492f622111dab4ce280427d8127f908165 /mutt_crypt.h
parentb7cb2829bc6737a010bc841772922a1159bf7fc0 (diff)
Add error results to mutt_body_handlers, and check them when doing
decode-save. Closes: #1919.
Diffstat (limited to 'mutt_crypt.h')
-rw-r--r--mutt_crypt.h8
1 files changed, 4 insertions, 4 deletions
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);