refactor import_keys to take directly an open file.
[apps/madmutt.git] / lib-crypt / crypt.h
index 130daef..247232b 100644 (file)
@@ -91,9 +91,6 @@ void convert_to_7bit (BODY *);
 
 /*-- crypt.c --*/
 
 
 /*-- crypt.c --*/
 
-/* Print the current time. */
-void crypt_current_time (STATE * s, const char *app_name);
-
 /* Check out the type of encryption used and set the cached status
    values if there are any. */
 int crypt_query (BODY * m);
 /* Check out the type of encryption used and set the cached status
    values if there are any. */
 int crypt_query (BODY * m);
@@ -154,8 +151,7 @@ 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);
 
    later.  This is necessary for $fcc_attach. */
 BODY *crypt_pgp_encrypt_message (BODY * a, char *keylist, int sign);
 
-/* Invoke the PGP command to import a key. */
-void crypt_pgp_invoke_import (const char *fname);
+void crypt_invoke_import(FILE *stream, int smime);
 
 int crypt_pgp_send_menu (HEADER * msg, int *redraw);
 
 
 int crypt_pgp_send_menu (HEADER * msg, int *redraw);
 
@@ -195,9 +191,6 @@ BODY *crypt_smime_sign_message (BODY * a);
 /* fixme: needs documentation. */
 BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
 
 /* fixme: needs documentation. */
 BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
 
-/* Add a certificate and update index file (externally). */
-void crypt_smime_invoke_import(const char *infile);
-
 int crypt_smime_send_menu (HEADER * msg, int *redraw);
 
 /* fixme: needs documentation */
 int crypt_smime_send_menu (HEADER * msg, int *redraw);
 
 /* fixme: needs documentation */