track changes to api (e_passwords_init is gone, and several functions take
authorChris Toshok <toshok@ximian.com>
Mon, 9 Dec 2002 21:39:41 +0000 (21:39 +0000)
committerChris Toshok <toshok@src.gnome.org>
Mon, 9 Dec 2002 21:39:41 +0000 (21:39 +0000)
commit8a78ae5f308fd8eccd2a57b916af3b9a0f32c620
treee0822888eb0a2ff02522df7f08d9714f7050f357
parent31337f0893c514e3e961e337dad3213331fb651a
track changes to api (e_passwords_init is gone, and several functions take

2002-12-09  Chris Toshok  <toshok@ximian.com>

* e-passwords.h: track changes to api (e_passwords_init is gone,
and several functions take the component name as an arg.)

* e-passwords.c (e_passwords_init): make this static, and allow
multiple calls.  Also, it no longer takes the component name.
(e_passwords_shutdown): make this deal with the case where
e_passwords_init wasn't called (no hashtable), and it no longer
needs to free component_name.
(e_passwords_forget_passwords): call e_passwords_init.
(e_passwords_clear_component_passwords): take component_name as an
arg, and call e_passwords_init.
(password_path): take component_name as an arg.
(e_passwords_remember_password): same, and call e_passwords_init.
(e_passwords_forget_password): same.
(e_passwords_get_password): same.
(e_passwords_add_password): call e_passwords_init.
(e_passwords_ask_password): take component_name as an arg.
libedataserverui/e-passwords.c
libedataserverui/e-passwords.h