more simplifications. also fix gpgme crypt menu
[apps/madmutt.git] / lib-crypt / crypt.h
index 247232b..6f7730d 100644 (file)
@@ -89,6 +89,12 @@ int mutt_parse_crypt_hdr (char *, int);
 void convert_to_7bit (BODY *);
 
 
+/*-- new API --*/
+
+void crypt_invoke_import(FILE *stream, int smime);
+int crypt_send_menu(HEADER *msg, int *redraw, int smime);
+
+
 /*-- crypt.c --*/
 
 /* Check out the type of encryption used and set the cached status
@@ -151,10 +157,6 @@ BODY *crypt_pgp_sign_message (BODY * a);
    later.  This is necessary for $fcc_attach. */
 BODY *crypt_pgp_encrypt_message (BODY * a, char *keylist, int sign);
 
-void crypt_invoke_import(FILE *stream, int smime);
-
-int crypt_pgp_send_menu (HEADER * msg, int *redraw);
-
 /* fixme: needs documentation */
 int crypt_pgp_verify_one (BODY * sigbdy, STATE * s, const char *tempf);
 
@@ -191,8 +193,6 @@ BODY *crypt_smime_sign_message (BODY * a);
 /* fixme: needs documentation. */
 BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
 
-int crypt_smime_send_menu (HEADER * msg, int *redraw);
-
 /* fixme: needs documentation */
 int crypt_smime_verify_one (BODY * sigbdy, STATE * s, const char *tempf);