aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-keyring.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2010-12-06 18:05:56 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-01-26 21:29:19 +0800
commit4e3f8354165c37e1d8fc236b7d6417f77931bba3 (patch)
tree15d63c8ef1e5b291530ce12239c5e28bad2b020c /libempathy/empathy-keyring.h
parent5ddca5abc46c6adeb5870b592c77158f7da00ca5 (diff)
downloadgsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar.gz
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar.bz2
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar.lz
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar.xz
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.tar.zst
gsoc2013-empathy-4e3f8354165c37e1d8fc236b7d6417f77931bba3.zip
keyring: add set_password_{async,finish} functions
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy/empathy-keyring.h')
-rw-r--r--libempathy/empathy-keyring.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-keyring.h b/libempathy/empathy-keyring.h
index 2c062e1cd..015b7ae86 100644
--- a/libempathy/empathy-keyring.h
+++ b/libempathy/empathy-keyring.h
@@ -31,6 +31,13 @@ void empathy_keyring_get_password_async (TpAccount *account,
const gchar * empathy_keyring_get_password_finish (TpAccount *account,
GAsyncResult *result, GError **error);
+void empathy_keyring_set_password_async (TpAccount *account,
+ const gchar *password, GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean empathy_keyring_set_password_finish (TpAccount *account,
+ GAsyncResult *result, GError **error);
+
G_END_DECLS
#endif /* __EMPATHY_KEYRING_H__ */