#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)
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. */
/* 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 --*/