X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fcrypt.h;h=f9dc9a7e0141017ab9f89f53e9e3a24360a9f24a;hp=2b9434c03f36a7f281980ad46f09a19dacca3f29;hb=b62cf5fb77a75e17b176141d232655e5bd8b7fe1;hpb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83 diff --git a/lib-crypt/crypt.h b/lib-crypt/crypt.h index 2b9434c..f9dc9a7 100644 --- a/lib-crypt/crypt.h +++ b/lib-crypt/crypt.h @@ -16,14 +16,13 @@ #ifndef MUTT_CRYPT_H #define MUTT_CRYPT_H -#include "mutt.h" /* Need this to declare BODY, address_t. STATE etc. */ +#include #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 --*/