Use m_tempfile instead of mutt_mktemp
[apps/madmutt.git] / lib-crypt / crypt.h
index 2b9434c..f9dc9a7 100644 (file)
 #ifndef MUTT_CRYPT_H
 #define MUTT_CRYPT_H
 
-#include "mutt.h"               /* Need this to declare BODY, address_t. STATE etc. */
+#include <lib-mime/mime.h>
 #include "state.h"
 
 /* FIXME: They should be pointer to anonymous structures for better
    information hiding. */
 
 
-
 #define ENCRYPT    (1 << 0)
 #define SIGN       (1 << 1)
 #define GOODSIGN   (1 << 2)
@@ -83,23 +82,13 @@ typedef struct pgp_keyinfo *pgp_key_t;
 
 int mutt_protect (HEADER *, char *);
 
-int mutt_is_multipart_encrypted (BODY *);
-
-int mutt_is_multipart_signed (BODY *);
-
-int mutt_is_application_pgp (BODY *);
-
-int mutt_is_application_smime (BODY *);
-
 int mutt_signed_handler (BODY *, STATE *);
 
 int mutt_parse_crypt_hdr (char *, int);
 
-
 void convert_to_7bit (BODY *);
 
 
-
 /*-- crypt.c --*/
 
 /* Print the current time. */
@@ -123,11 +112,6 @@ void crypt_forget_passphrase (void);
 /* Check that we have a usable passphrase, ask if not. */
 int crypt_valid_passphrase (int);
 
-/* Write the message body/part A described by state S to a the given
-   TEMPFILE.  */
-int crypt_write_signed (BODY * a, STATE * s, const char *tempf);
-
-
 
 /*-- cryptglue.c --*/