#include <lib-mime/mime.h>
#include "state.h"
+#include "crypt.li"
#define ENCRYPT (1 << 0)
#define SIGN (1 << 1)
int mutt_protect (HEADER *, char *);
int mutt_signed_handler (BODY *, STATE *);
int mutt_parse_crypt_hdr (char *, int);
+int mutt_check_traditional_pgp (HEADER *, int *);
/* Check out the type of encryption used and set the cached status
values if there are any. */
Return the list of keys in KEYLIST. */
int crypt_get_keys (HEADER * msg, char **keylist);
-
-/* Show a message that a backend will be invoked. */
-void crypt_invoke_message (int type);
-
/* Decrypt a PGP/MIME message. */
int crypt_pgp_decrypt_mime (FILE * a, FILE ** b, BODY * c, BODY ** d);
/* Check for a traditional PGP message in body B. */
int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only);
-/* Generate a PGP public key attachment. */
-BODY *crypt_pgp_make_key_attachment (char *tempf);
-
/* fixme: needs documentation */
void crypt_pgp_extract_keys_from_attachment_list (FILE * fp, int tag,
BODY * top);