projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove cryptglue.c
[apps/madmutt.git]
/
lib-crypt
/
crypt.h
diff --git
a/lib-crypt/crypt.h
b/lib-crypt/crypt.h
index
45cb952
..
130daef
100644
(file)
--- a/
lib-crypt/crypt.h
+++ b/
lib-crypt/crypt.h
@@
-106,6
+106,13
@@
void crypt_extract_keys_from_messages (HEADER * h);
Return the list of keys in KEYLIST. */
int crypt_get_keys (HEADER * msg, char **keylist);
Return the list of keys in KEYLIST. */
int crypt_get_keys (HEADER * msg, char **keylist);
+/* Forget a passphrase and display a message. */
+void crypt_forget_passphrase (void);
+
+/* Check that we have a usable passphrase, ask if not. */
+int crypt_valid_passphrase (int);
+
+
/*-- cryptglue.c --*/
/* Show a message that a backend will be invoked. */
/*-- cryptglue.c --*/
/* Show a message that a backend will be invoked. */
@@
-130,9
+137,6
@@
pgp_key_t crypt_pgp_ask_for_key (char *tag, char *whatfor,
/* Check for a traditional PGP message in body B. */
int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only);
/* Check for a traditional PGP message in body B. */
int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only);
-/* fixme: needs documentation. */
-BODY *crypt_pgp_traditional_encryptsign (BODY * a, int flags, char *keylist);
-
/* Release the PGP key KPP (note, that we pass a pointer to it). */
void crypt_pgp_free_key (pgp_key_t * kpp);
/* Release the PGP key KPP (note, that we pass a pointer to it). */
void crypt_pgp_free_key (pgp_key_t * kpp);
@@
-192,13
+196,11
@@
BODY *crypt_smime_sign_message (BODY * a);
BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
/* Add a certificate and update index file (externally). */
BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
/* Add a certificate and update index file (externally). */
-void crypt_smime_invoke_import
(char *infile, char *mailbox
);
+void crypt_smime_invoke_import
(const char *infile
);
int crypt_smime_send_menu (HEADER * msg, int *redraw);
/* fixme: needs documentation */
int crypt_smime_verify_one (BODY * sigbdy, STATE * s, const char *tempf);
int crypt_smime_send_menu (HEADER * msg, int *redraw);
/* fixme: needs documentation */
int crypt_smime_verify_one (BODY * sigbdy, STATE * s, const char *tempf);
-void crypt_init (void);
-
#endif /*MUTT_CRYPT_H */
#endif /*MUTT_CRYPT_H */