diff options
author | Chris Toshok <toshok@ximian.com> | 2001-10-13 06:28:04 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-10-13 06:28:04 +0800 |
commit | c90ced3180e92eaa690eef03b9b709f16030fa0c (patch) | |
tree | 7d53442b4c6523570946482526844aa95e22670e /mail/mail-session.h | |
parent | 47d5ddd05759815a8a11d4083298e1b81bf02163 (diff) | |
download | gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.tar.gz gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.tar.zst gsoc2013-evolution-c90ced3180e92eaa690eef03b9b709f16030fa0c.zip |
call e_passwords_init and e_passwords_shutdown.
2001-10-12 Chris Toshok <toshok@ximian.com>
* main.c (main): call e_passwords_init and e_passwords_shutdown.
* mail-session.h: add prototypes for
mail_session_{get,add}_password.
* mail-session.c (init): empty this out - we use e_passwords
instead of a local hashtable.
(get_password): use e_passwords_get_password and
e_passwords_add_password.
(forget_password): use e_passwords_forget_password.
(mail_session_remember_password): use
e_passwords_remember_password.
(mail_session_forget_password): use e_passwords_forget_password.
(mail_session_get_password): new function, use
e_passwords_get_password.
(mail_session_add_password): same, use e_passwords_add_password.
(mail_session_forget_passwords): use e_passwords_forget_passwords.
* mail-config.c (mail_config_write_on_exit): fix this up so it
works as desired with the e_passwords stuff.
svn path=/trunk/; revision=13640
Diffstat (limited to 'mail/mail-session.h')
-rw-r--r-- | mail/mail-session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-session.h b/mail/mail-session.h index d23c4eaaf3..37dfe54885 100644 --- a/mail/mail-session.h +++ b/mail/mail-session.h @@ -38,6 +38,8 @@ char *mail_session_request_dialog (const char *prompt, gboolean secret, const char *key, gboolean async); gboolean mail_session_accept_dialog (const char *prompt, const char *key, gboolean async); +char *mail_session_get_password (const char *url); +void mail_session_add_password (const char *url, const char *passwd); void mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, const char *path); void mail_session_remember_password (const char *url); |