summaryrefslogtreecommitdiffstats
path: root/crypt-mod.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 /crypt-mod.h
parentb7cb2829bc6737a010bc841772922a1159bf7fc0 (diff)
Add error results to mutt_body_handlers, and check them when doing
decode-save. Closes: #1919.
Diffstat (limited to 'crypt-mod.h')
-rw-r--r--crypt-mod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt-mod.h b/crypt-mod.h
index 4f69c3e8..133b784b 100644
--- a/crypt-mod.h
+++ b/crypt-mod.h
@@ -34,8 +34,8 @@ typedef int (*crypt_func_valid_passphrase_t) (void);
typedef int (*crypt_func_decrypt_mime_t) (FILE *a, FILE **b,
BODY *c, BODY **d);
-typedef void (*crypt_func_application_handler_t) (BODY *m, STATE *s);
-typedef void (*crypt_func_encrypted_handler_t) (BODY *m, STATE *s);
+typedef int (*crypt_func_application_handler_t) (BODY *m, STATE *s);
+typedef int (*crypt_func_encrypted_handler_t) (BODY *m, STATE *s);
typedef void (*crypt_func_pgp_invoke_getkeys_t) (ADDRESS *addr);
typedef int (*crypt_func_pgp_check_traditional_t) (FILE *fp, BODY *b,