diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-26 09:39:11 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-26 09:39:11 +0800 |
commit | 4b098b1a425fc966c96a61c1c24acb2a2f5645a9 (patch) | |
tree | 7c0903ae6db6a2bcaa56f58e80dc8234b738e20e /mail/mail-session.h | |
parent | 42904d799377d856cb13363eb2f1530b71d8762f (diff) | |
download | gsoc2013-evolution-4b098b1a425fc966c96a61c1c24acb2a2f5645a9.tar.gz gsoc2013-evolution-4b098b1a425fc966c96a61c1c24acb2a2f5645a9.tar.zst gsoc2013-evolution-4b098b1a425fc966c96a61c1c24acb2a2f5645a9.zip |
New function to force the removal of a given password.
2001-02-25 Jeffrey Stedfast <fejj@ximian.com>
* session.c (mail_session_forget_password): New function to force
the removal of a given password.
* openpgp-utils.c (openpgp_decrypt): On failure, forget the
passphrase.
(openpgp_encrypt): Here too. (cleaned this up a bit too)
(openpgp_clearsign): And here.
(openpgp_sign): Again...
svn path=/trunk/; revision=8390
Diffstat (limited to 'mail/mail-session.h')
-rw-r--r-- | mail/mail-session.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-session.h b/mail/mail-session.h index a2ce0b1a10..bde6c8d186 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -25,12 +25,12 @@ #include <gnome.h> #include <bonobo.h> -#include <camel/camel.h> +#include <camel/camel-session.h> #ifdef __cplusplus extern "C" { #pragma } -#endif /* __cplusplus }*/ +#endif /* __cplusplus */ void mail_session_init (void); void mail_session_enable_interaction (gboolean enable); @@ -40,6 +40,8 @@ void mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, const char *path); void mail_session_remember_password (const char *url); +void mail_session_forget_password (const char *key); + void mail_session_set_password (const char *url, const char *password); extern CamelSession *session; |