Use m_tempfile instead of mutt_mktemp
[apps/madmutt.git] / lib-crypt / crypt.h
index 3a2a207..f9dc9a7 100644 (file)
 #ifndef MUTT_CRYPT_H
 #define MUTT_CRYPT_H
 
 #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. */
 
 
 #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)
 #define ENCRYPT    (1 << 0)
 #define SIGN       (1 << 1)
 #define GOODSIGN   (1 << 2)
@@ -113,11 +112,6 @@ void crypt_forget_passphrase (void);
 /* Check that we have a usable passphrase, ask if not. */
 int crypt_valid_passphrase (int);
 
 /* 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 --*/
 
 
 /*-- cryptglue.c --*/